prevent invalid OOXML chart files
Change-Id: I2ccf988a26e5c69f4f14547cfea7cb4fb574b317
This commit is contained in:
committed by
Markus Mohrhard
parent
a67f56f78c
commit
f0d232f7b7
@@ -2390,7 +2390,7 @@ void ChartExport::_exportAxis(
|
||||
}
|
||||
|
||||
sal_Bool bDisplayUnits = sal_False;
|
||||
if(GetProperty( xAxisProp, "DisplayUnits" ) )
|
||||
if( nAxisType == XML_valAx && GetProperty( xAxisProp, "DisplayUnits" ) )
|
||||
{
|
||||
mAny >>= bDisplayUnits;
|
||||
if(bDisplayUnits)
|
||||
|
Reference in New Issue
Block a user