[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - oox/source
Muthu Subramanian
sumuthu at collabora.com
Mon Feb 24 08:04:43 PST 2014
oox/source/drawingml/chart/axisconverter.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit cc3f81394007f3ebc5cc2452a2fe0f7131881bcd
Author: Muthu Subramanian <sumuthu at collabora.com>
Date: Wed Sep 11 21:41:43 2013 +0530
n#834720: Labels wrongly interpreted as dates.
If the numFormat is available we should probably use that.
diff --git a/oox/source/drawingml/chart/axisconverter.cxx b/oox/source/drawingml/chart/axisconverter.cxx
index 1f725d6..886b252 100644
--- a/oox/source/drawingml/chart/axisconverter.cxx
+++ b/oox/source/drawingml/chart/axisconverter.cxx
@@ -310,10 +310,8 @@ void AxisConverter::convertFromModel( const Reference< XCoordinateSystem >& rxCo
{
bool bPercent = false;
if( mrModel.maNumberFormat.maFormatCode.indexOf('%') >= 0)
- {
- mrModel.maNumberFormat.mbSourceLinked = false;
bPercent = true;
- }
+ mrModel.maNumberFormat.mbSourceLinked = false;
getFormatter().convertNumberFormat( aAxisProp, mrModel.maNumberFormat, bPercent );
}
More information about the Libreoffice-commits
mailing list