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

Tor Lillqvist tml at collabora.com
Wed Sep 18 10:13:50 PDT 2013


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

New commits:
commit 98b3ed32d53d9eaa8f7e16dc6afca0fc9d27bcd1
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Sep 18 20:00:16 2013 +0300

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

diff --git a/xmloff/source/style/xmlbahdl.cxx b/xmloff/source/style/xmlbahdl.cxx
index 0dbe514..4ed4c5c 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 = ( (rStrImpValue == sTransparent) == bTransPropValue);
+    sal_Bool bValue = (sal_Bool) ( (rStrImpValue == sTransparent) == bTransPropValue);
     rValue.setValue( &bValue, ::getBooleanCppuType() );
 
     return true;


More information about the Libreoffice-commits mailing list