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

Stephan Bergmann sbergman at redhat.com
Thu Jan 23 07:25:14 PST 2014


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

New commits:
commit 8f14c896cd4db960f7f0181819555fc6ea504821
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jan 23 16:24:47 2014 +0100

    bool improvements
    
    Change-Id: Idaa24320585f3d2e3ca50c82b1a34fc2c523e56e

diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 5e5b400..3212931 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -1422,7 +1422,7 @@ void SvxNumOptionsTabPage::InitControls()
                 bSamePrefix = aNumFmtArr[i]->GetPrefix() == aNumFmtArr[nLvl]->GetPrefix();
                 bSameSuffix = aNumFmtArr[i]->GetSuffix() == aNumFmtArr[nLvl]->GetSuffix();
                 bAllLevel &= aNumFmtArr[i]->GetIncludeUpperLevels() == aNumFmtArr[nLvl]->GetIncludeUpperLevels();
-                bSameCharFmt    &=  (sal_Bool) (sFirstCharFmt == aNumFmtArr[i]->GetCharFmtName());
+                bSameCharFmt    &= sFirstCharFmt == aNumFmtArr[i]->GetCharFmtName();
                 bSameVOrient    &= eFirstOrient == aNumFmtArr[i]->GetVertOrient();
                 if(bShowBitmap && bSameSize)
                     bSameSize &= aNumFmtArr[i]->GetGraphicSize() == aFirstSize;


More information about the Libreoffice-commits mailing list