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

Stephan Bergmann sbergman at redhat.com
Mon Sep 7 09:39:33 PDT 2015


 oox/source/export/chartexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 21630c48b6dc2cb0e0470b02e039e9cf634f6610
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Sep 7 18:39:08 2015 +0200

    loplugin:simplifybool
    
    Change-Id: Id325d05060e427ad46acd45d0ec3f0e9159cea9f

diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index bc216bd..b60c2b7 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2185,7 +2185,7 @@ void ChartExport::exportCandleStickSeries(
     for( sal_Int32 nSeriesIdx=0; nSeriesIdx<aSeriesSeq.getLength(); ++nSeriesIdx )
     {
         Reference< chart2::XDataSeries > xSeries( aSeriesSeq[nSeriesIdx] );
-        rPrimaryAxes = lcl_isSeriesAttachedToFirstAxis(xSeries) ? true : false;
+        rPrimaryAxes = lcl_isSeriesAttachedToFirstAxis(xSeries);
 
         Reference< chart2::data::XDataSource > xSource( xSeries, uno::UNO_QUERY );
         if( xSource.is())


More information about the Libreoffice-commits mailing list