From c8cc89ff802d86b1f3a69afe1b4835b7df7f70c7 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Tue, 29 Jul 2014 21:10:22 +0200 Subject: Fix some number format issues, bnc#862510 Set "LinkNumberFormatToSource" to false, so that format code is not ignored. Also, do not inherit format code common for all labels, if there is specific format code for a data label. Change-Id: I505311d5df641d61e616e354734bd332609fa122 --- oox/source/drawingml/chart/modelbase.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'oox/source/drawingml/chart/modelbase.cxx') diff --git a/oox/source/drawingml/chart/modelbase.cxx b/oox/source/drawingml/chart/modelbase.cxx index d3e6961aa1b3..27cb179945eb 100644 --- a/oox/source/drawingml/chart/modelbase.cxx +++ b/oox/source/drawingml/chart/modelbase.cxx @@ -33,8 +33,7 @@ NumberFormat::NumberFormat() : void NumberFormat::setAttributes( const AttributeList& rAttribs ) { maFormatCode = rAttribs.getString( XML_formatCode, OUString() ); - // default is 'false', not 'true' as specified - mbSourceLinked = rAttribs.getBool( XML_sourceLinked, false ); + // TODO: if XML_sourceLinked is true, should be used instead. } LayoutModel::LayoutModel() : -- cgit