sw/source/filter/ww8/ww8par.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 35a053b28b76432b749c8c9667fb03f27c2cb635 Author: Mike Kaganski <[email protected]> AuthorDate: Mon Feb 23 09:39:02 2026 +0100 Commit: Mike Kaganski <[email protected]> CommitDate: Mon Feb 23 11:04:53 2026 +0100 Simplify the condition a bit Change-Id: Id7b54adb5c86d6f958090a661fc5aa51b7cd380c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200031 Tested-by: Jenkins Reviewed-by: Mike Kaganski <[email protected]> diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 4cbb1eb5614d..1ea68b6cddf8 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -3026,10 +3026,7 @@ static std::size_t Custom8BitToUnicode(rtl_TextToUnicodeConverter hConverter, nConverted += nThisConverted; - if ( - nInfo & RTL_TEXTTOUNICODE_INFO_UNDEFINED || - nInfo & RTL_TEXTTOUNICODE_INFO_MBUNDEFINED - ) + if (nInfo & (RTL_TEXTTOUNICODE_INFO_UNDEFINED | RTL_TEXTTOUNICODE_INFO_MBUNDEFINED)) { sal_Size nOtherConverted; rtl_TextToUnicodeConverter hCP1252Converter =
