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

Stephan Bergmann sbergman at redhat.com
Wed Feb 26 11:29:52 PST 2014


 sw/source/filter/ww8/ww8par6.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a395c9fa387eabf2d09360f1023f5e3e66af21a8
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Feb 26 20:29:08 2014 +0100

    loplugin:literaltoboolconversion
    
    Change-Id: I9f601252a24e935e81716213a6733ee2adb1489f

diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index c3aa747..9e3596c 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -2862,12 +2862,12 @@ void SwWW8ImplReader::Read_Bidi(sal_uInt16, const sal_uInt8* pData, short nLen)
 {
     if( nLen < 0 )  //Property end
     {
-        bBidi = sal_False;
+        bBidi = false;
         pCtrlStck->SetAttr(*pPaM->GetPoint(),RES_CHRATR_BIDIRTL);
     }
     else    //Property start
     {
-        bBidi = sal_True;
+        bBidi = true;
         sal_uInt8 nBidi = *pData;
         NewAttr( SfxInt16Item( RES_CHRATR_BIDIRTL, (nBidi!=0)? 1 : 0 ) );
     }


More information about the Libreoffice-commits mailing list