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

Muthu Subramanian sumuthu at suse.com
Wed Mar 27 03:36:22 PDT 2013


 oox/source/drawingml/chart/seriesconverter.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit c0518f245c02fd9d1d48f56429ebf59ac776c4c6
Author: Muthu Subramanian <sumuthu at suse.com>
Date:   Wed Mar 27 16:20:42 2013 +0530

    n#734735: [PPTX] Use number format, if available, for charts.

diff --git a/oox/source/drawingml/chart/seriesconverter.cxx b/oox/source/drawingml/chart/seriesconverter.cxx
index 3cc38d0..9ef1f3f 100644
--- a/oox/source/drawingml/chart/seriesconverter.cxx
+++ b/oox/source/drawingml/chart/seriesconverter.cxx
@@ -235,6 +235,9 @@ void DataLabelsConverter::convertFromModel( const Reference< XDataSeries >& rxDa
     for( DataLabelsModel::DataLabelVector::iterator aIt = mrModel.maPointLabels.begin(), aEnd = mrModel.maPointLabels.end(); aIt != aEnd; ++aIt )
     {
         (*aIt)->maNumberFormat.maFormatCode = mrModel.maNumberFormat.maFormatCode;
+        if( !mrModel.maNumberFormat.maFormatCode.isEmpty() )
+            (*aIt)->maNumberFormat.mbSourceLinked = false;
+
         DataLabelConverter aLabelConv( *this, **aIt );
         aLabelConv.convertFromModel( rxDataSeries, rTypeGroup );
     }


More information about the Libreoffice-commits mailing list