diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2013-03-27 16:20:42 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2013-03-27 16:23:24 +0530 |
commit | 551377c9637b9dbcfd70ed144043b82c89159e99 (patch) | |
tree | 7b7d26ec06be82e2623e885da8ab765e6aa3f45a | |
parent | n#657905: Display the scaled fontsize in the toolbar. (diff) | |
download | core-551377c9637b9dbcfd70ed144043b82c89159e99.tar.gz core-551377c9637b9dbcfd70ed144043b82c89159e99.zip |
n#734735: [PPTX] Use number format, if available, for charts.
-rw-r--r-- | oox/source/drawingml/chart/seriesconverter.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/source/drawingml/chart/seriesconverter.cxx b/oox/source/drawingml/chart/seriesconverter.cxx index 052237675caa..7f0831a41d7e 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 ); } |