diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/customshapegeometry.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/oox/source/drawingml/customshapegeometry.cxx b/oox/source/drawingml/customshapegeometry.cxx index 3155b893c198..20458f0f3591 100644 --- a/oox/source/drawingml/customshapegeometry.cxx +++ b/oox/source/drawingml/customshapegeometry.cxx @@ -406,8 +406,9 @@ static EnhancedCustomShapeParameter GetAdjCoordinate( CustomShapeProperties& rCu n = rValue[ 1 ]; } if ( ( n >= '0' ) && ( n <= '9' ) ) - { // seems to be a ST_Coordinate - aRet.Value = Any( (sal_Int32)(rValue.toInt32() ) ); + { + // seems to be a ST_Coordinate - convert EMUs to 1/100th mm + aRet.Value = Any( GetCoordinate( rValue ) ); aRet.Type = EnhancedCustomShapeParameterType::NORMAL; } else |