[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Thu Apr 6 16:09:46 UTC 2017


 sw/source/filter/ww8/ww8par6.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6e372ae1e9401f7a3651c617ece4131c065ec58d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 6 18:09:17 2017 +0200

    loplugin:literaltoboolconversion
    
    Change-Id: Ibdff644999556ae38e2b1dd4177a0f890e9bd14a

diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 9f4cbac539be..9685818510ee 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -2763,7 +2763,7 @@ void SwWW8ImplReader::Read_Symbol(sal_uInt16, const sal_uInt8* pData, short nLen
 {
     if( !m_bIgnoreText )
     {
-        if (nLen < m_bVer67 ? 3 : 4)
+        if (nLen < (m_bVer67 ? 3 : 4))
         {
             //otherwise disable after we print the char
             if (m_pPlcxMan && m_pPlcxMan->GetDoingDrawTextBox())


More information about the Libreoffice-commits mailing list