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

Tor Lillqvist tml at iki.fi
Tue Sep 3 04:21:29 PDT 2013


 svtools/source/control/ruler.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 29875a8d05dd3200775b987f25ed6277a15104fa
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue Sep 3 14:14:39 2013 +0300

    WaE:  C4805: '!=' : unsafe mix of type 'bool' and type 'sal_Bool'
    
    Change-Id: I18cefc69b963cb957645a4586079de0d448e90b3

diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index 5955d46..6aa2c6c 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -2890,7 +2890,7 @@ void Ruler::DrawTab( OutputDevice* pDevice, const Color &rFillColor, const Point
 
 void Ruler::SetTextRTL(sal_Bool bRTL)
 {
-    if(mpData->bTextRTL != bRTL)
+    if(mpData->bTextRTL != (bool) bRTL)
     {
         mpData->bTextRTL = bRTL;
         if ( IsReallyVisible() && IsUpdateMode() )


More information about the Libreoffice-commits mailing list