downgrade assert to warning
list of documents that assert here from crashtesting is known, so turn into a warning for now Change-Id: I45da002f00f92d65778e69f27040c8e09b7c8501 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147304 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
35e3c499cb
commit
0eab1adad7
1 changed files with 2 additions and 1 deletions
|
@ -72,6 +72,7 @@
|
|||
#include <libxml/xmlwriter.h>
|
||||
#include <o3tl/enumrange.hxx>
|
||||
#include <o3tl/safeint.hxx>
|
||||
#include <sal/log.hxx>
|
||||
#include <vcl/GraphicLoader.hxx>
|
||||
#include <unotools/securityoptions.hxx>
|
||||
|
||||
|
@ -465,7 +466,7 @@ bool SvxLRSpaceItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
|
|||
void SvxLRSpaceItem::SetLeft(const tools::Long nL, const sal_uInt16 nProp)
|
||||
{
|
||||
nLeftMargin = (nL * nProp) / 100;
|
||||
assert(nFirstLineOffset == 0); // probably call SetTextLeft instead? looks inconsistent otherwise
|
||||
SAL_WARN_IF(nFirstLineOffset != 0, "editeng", "probably call SetTextLeft instead? looks inconsistent otherwise");
|
||||
nPropLeftMargin = nProp;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue