diff options
author | Jan Holesovsky <kendy@suse.cz> | 2013-05-15 16:08:26 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-05-22 09:50:32 +0200 |
commit | c4345bcf488d24a45a6412cda41474de6baf00da (patch) | |
tree | 6fb66de4510b7c0e2d9beaef869c8898a06c71c6 | |
parent | 5177c2d7a970bf1cdefed8a068e1069a83a34396 (diff) |
bnc#819614: Fix runaway lines.
Change-Id: I360ec44872dbb555870d7d3fc8a9ed81c95e8c07
-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 dada58140b4d..55cf13200ef3 100644 --- a/oox/source/drawingml/customshapegeometry.cxx +++ b/oox/source/drawingml/customshapegeometry.cxx @@ -407,8 +407,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 |