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

Tor Lillqvist tml at collabora.com
Wed Sep 18 10:27:59 PDT 2013


 xmloff/source/style/xmlbahdl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9ea6b8f88441b15c8987176977c38b1393b81ae3
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Sep 18 20:27:21 2013 +0300

    Still WaE: unsafe mix of type 'sal_Bool' and type 'const bool'
    
    Change-Id: I16cc5dc16f16d7718dcbda8cc279ae98a89cb751

diff --git a/xmloff/source/style/xmlbahdl.cxx b/xmloff/source/style/xmlbahdl.cxx
index 4ed4c5c..3397e47 100644
--- a/xmloff/source/style/xmlbahdl.cxx
+++ b/xmloff/source/style/xmlbahdl.cxx
@@ -693,7 +693,7 @@ XMLIsTransparentPropHdl::~XMLIsTransparentPropHdl()
 
 bool XMLIsTransparentPropHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitConverter& ) const
 {
-    sal_Bool bValue = (sal_Bool) ( (rStrImpValue == sTransparent) == bTransPropValue);
+    sal_Bool bValue = (sal_Bool) ( (bool) (rStrImpValue == sTransparent) == bTransPropValue);
     rValue.setValue( &bValue, ::getBooleanCppuType() );
 
     return true;


More information about the Libreoffice-commits mailing list