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

Julien Nabet serval2412 at yahoo.fr
Fri Apr 25 03:50:12 PDT 2014


 cui/source/tabpages/border.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b4a95f8d215564a2d4cf55c293175ac8e73910c1
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Fri Apr 25 12:49:12 2014 +0200

    Since bPut is bool, let's use true/false
    
    Change-Id: I37b05b3d62eda03aecfa253bfc729136a777c6eb

diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx
index d06a4be..76b3e33 100644
--- a/cui/source/tabpages/border.cxx
+++ b/cui/source/tabpages/border.cxx
@@ -708,7 +708,7 @@ bool SvxBorderTabPage::FillItemSet( SfxItemSet& rCoreAttrs )
 
     if (   SFX_ITEM_DEFAULT == rOldSet.GetItemState( nBoxWhich,     false ))
     {
-        bPut = aBoxItem != (const SvxBoxItem&)(rOldSet.Get(nBoxWhich)) ? sal_True : sal_False;
+        bPut = aBoxItem != (const SvxBoxItem&)(rOldSet.Get(nBoxWhich)) ? true : false;
     }
     if(  SFX_ITEM_DEFAULT == rOldSet.GetItemState( nBoxInfoWhich, false ) )
     {


More information about the Libreoffice-commits mailing list