summaryrefslogtreecommitdiff
path: root/oox
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:22:17 +0530
commitc0518f245c02fd9d1d48f56429ebf59ac776c4c6 (patch)
tree72c6bef51903a0ff6ab64bd5b760f2ffdc025400 /oox
parentb8e68951d56cfd01cf63c3ee04b49a862b685bc5 (diff)
n#734735: [PPTX] Use number format, if available, for charts.
Diffstat (limited to 'oox')
-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 3cc38d018926..9ef1f3fdd559 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 );
}