n#834720: Labels wrongly interpreted as dates.
If the numFormat is available we should probably use that.
This commit is contained in:
@@ -310,10 +310,8 @@ void AxisConverter::convertFromModel( const Reference< XCoordinateSystem >& rxCo
|
|||||||
{
|
{
|
||||||
bool bPercent = false;
|
bool bPercent = false;
|
||||||
if( mrModel.maNumberFormat.maFormatCode.indexOf('%') >= 0)
|
if( mrModel.maNumberFormat.maFormatCode.indexOf('%') >= 0)
|
||||||
{
|
|
||||||
mrModel.maNumberFormat.mbSourceLinked = false;
|
|
||||||
bPercent = true;
|
bPercent = true;
|
||||||
}
|
mrModel.maNumberFormat.mbSourceLinked = false;
|
||||||
getFormatter().convertNumberFormat( aAxisProp, mrModel.maNumberFormat, bPercent );
|
getFormatter().convertNumberFormat( aAxisProp, mrModel.maNumberFormat, bPercent );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user