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

Stephan Bergmann sbergman at redhat.com
Tue Mar 24 10:07:35 PDT 2015


 sc/source/filter/excel/xecontent.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f17568f9f3ea6cded3fe13437977ef841d56a7c1
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Mar 24 18:06:16 2015 +0100

    loplugin:implicitboolconversion
    
    Change-Id: I7d1be2365c2e18a007a26e63195ea0cb169ee254

diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx
index ca71cf9..f3f0cf3 100644
--- a/sc/source/filter/excel/xecontent.cxx
+++ b/sc/source/filter/excel/xecontent.cxx
@@ -1299,7 +1299,7 @@ void XclExpDataBar::SaveXml( XclExpXmlStream& rStrm )
             FSEND );
 
     rWorksheet->startElement( XML_dataBar,
-                                XML_showValue, OString::number(!mrFormat.GetDataBarData()->mbOnlyBar),
+                                XML_showValue, OString::number(int(!mrFormat.GetDataBarData()->mbOnlyBar)),
                                 XML_minLength, OString::number(sal_uInt32(mrFormat.GetDataBarData()->mnMinLength)),
                                 XML_maxLength, OString::number(sal_uInt32(mrFormat.GetDataBarData()->mnMaxLength)),
             FSEND );


More information about the Libreoffice-commits mailing list