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

New commits:
commit 551377c9637b9dbcfd70ed144043b82c89159e99
Author: Muthu Subramanian <[email protected]>
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 0522376..7f0831a 100644
--- a/oox/source/drawingml/chart/seriesconverter.cxx
+++ b/oox/source/drawingml/chart/seriesconverter.cxx
@@ -245,6 +245,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 );
     }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to