n#834720: Labels wrongly interpreted as dates.

If the numFormat is available we should probably use that.
This commit is contained in:
Muthu Subramanian
2013-09-11 21:41:43 +05:30
parent f27ee66f2b
commit ac26b103af

View File

@@ -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 );
}