[Libreoffice-commits] .: sw/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Mon Apr 2 07:29:03 PDT 2012


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

New commits:
commit e650f3ec528777b56d45f4a652ff0569f8b925b4
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Mon Apr 2 16:27:18 2012 +0200

    SwWW8ImplReader::Read_UL: make this a bit less hard to read

diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 993020c..65cea9d 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -4177,7 +4177,7 @@ void SwWW8ImplReader::Read_UL( sal_uInt16 nId, const sal_uInt8* pData, short nLe
         pCtrlStck->SetAttr( *pPaM->GetPoint(), RES_UL_SPACE );
         return;
     }
-    short nPara = nId == 0x246D ? SVBT16ToShort( pData ) : 0 != *pData;
+    short nPara = ((nId == 0x246D) ? SVBT16ToShort( pData ) : (0 != *pData));
     if( nPara < 0 )
         nPara = -nPara;
 


More information about the Libreoffice-commits mailing list