summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@suse.com>2013-03-27 16:20:42 +0530
committerMuthu Subramanian <sumuthu@suse.com>2013-03-27 16:23:24 +0530
commit551377c9637b9dbcfd70ed144043b82c89159e99 (patch)
tree7b7d26ec06be82e2623e885da8ab765e6aa3f45a
parentn#657905: Display the scaled fontsize in the toolbar. (diff)
downloadcore-551377c9637b9dbcfd70ed144043b82c89159e99.tar.gz
core-551377c9637b9dbcfd70ed144043b82c89159e99.zip
n#734735: [PPTX] Use number format, if available, for charts.
-rw-r--r--oox/source/drawingml/chart/seriesconverter.cxx3
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 );
}