vcl: simplify warning message
Change-Id: Ie8ccf8bc5ba493987bebf38d8b1227c30bcd6e2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158077 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
This commit is contained in:
parent
72eaff7b6a
commit
2195d87e62
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ namespace vcl
|
|||
css::i18n::Boundary aBoundary = xBI->getWordBoundary( rStr, nBreakPos, rDefLocale, css::i18n::WordType::DICTIONARY_WORD, true );
|
||||
sal_Int32 nWordStart = nPos;
|
||||
sal_Int32 nWordEnd = aBoundary.endPos;
|
||||
SAL_WARN_IF( nWordEnd <= nWordStart, "vcl", "ImpBreakLine: Start >= End?" );
|
||||
SAL_WARN_IF(nWordEnd <= nWordStart, "vcl", "Start >= End?");
|
||||
|
||||
sal_Int32 nWordLen = nWordEnd - nWordStart;
|
||||
if ( ( nWordEnd < nSoftBreak ) || ( nWordLen <= 3 ) )
|
||||
|
|
Loading…
Reference in a new issue