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

Tor Lillqvist tml at collabora.com
Fri Jan 3 05:43:45 PST 2014


 chart2/source/controller/dialogs/tp_RangeChooser.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1cedea0eef581bccb5767bca49875261d2308326
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Jan 3 15:42:55 2014 +0200

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

diff --git a/chart2/source/controller/dialogs/tp_RangeChooser.cxx b/chart2/source/controller/dialogs/tp_RangeChooser.cxx
index d8f8336..4f86d53 100644
--- a/chart2/source/controller/dialogs/tp_RangeChooser.cxx
+++ b/chart2/source/controller/dialogs/tp_RangeChooser.cxx
@@ -36,7 +36,7 @@ namespace
         PushButton& rChooserButton,
         bool bShow)
     {
-        if( rChooserButton.IsVisible() != bShow )
+        if( rChooserButton.IsVisible() != (sal_Bool) bShow )
         {
             rChooserButton.Show( bShow );
         }


More information about the Libreoffice-commits mailing list