[Libreoffice-commits] core.git: Branch 'distro/suse/suse-3.6' - oox/source
Muthu Subramanian
sumuthu at suse.com
Wed Mar 27 03:37:53 PDT 2013
oox/source/drawingml/chart/seriesconverter.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 551377c9637b9dbcfd70ed144043b82c89159e99
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 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 );
}
More information about the Libreoffice-commits
mailing list