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

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Apr 28 02:55:13 PDT 2014


 oox/source/export/chartexport.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit dea3ab9db68502b4f8306eb79c944ab87660888e
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Apr 28 11:49:44 2014 +0200

    sal_Bool to bool in previous commit
    
    Change-Id: I6de50ccd8b99d6d7dbd049fc184c3f6117217318

diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 9b12eb7..ae7a926 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2009,12 +2009,12 @@ void ChartExport::exportSeriesValues( const Reference< chart2::data::XDataSequen
             XML_val, I32S( ptCount ),
             FSEND );
 
-    sal_Bool bIsNumberValue = sal_True;
-    sal_Bool bXSeriesValue = sal_False;
+    bool bIsNumberValue = true;
+    bool bXSeriesValue = false;
     double Value = 1.0;
 
     if(nValueType == XML_xVal)
-        bXSeriesValue = sal_True;
+        bXSeriesValue = true;
 
     for( sal_Int32 i = 0; i < ptCount; i++ )
     {
@@ -2030,7 +2030,7 @@ void ChartExport::exportSeriesValues( const Reference< chart2::data::XDataSequen
             //In Case aValues is not a number for X Values...We write X values as 1,2,3....MS Word does the same thing.
             pFS->write( Value );
             Value = Value + 1;
-            bIsNumberValue = sal_False;
+            bIsNumberValue = false;
         }
         pFS->endElement( FSNS( XML_c, XML_v ) );
         pFS->endElement( FSNS( XML_c, XML_pt ) );


More information about the Libreoffice-commits mailing list