summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2013-06-13 14:30:06 +0200
committerPetr Mladek <pmladek@suse.cz>2013-06-13 14:30:06 +0200
commitf3e29add840d5c6db8c1deff6b48b3701991a0ff (patch)
treefa2bc96f4a7e782872dec7e0266a759f11257973 /oox
parent33e392e7d4fbfc61480751311e7187a5730acc78 (diff)
Revert "bnc#819614: Fix runaway lines."
It caused several regressions when displaying shapes; for example, in the test document for bnc#762695: + missing hyperboloids on several slides, e.g. 13, 14, 15 + broken bubles on slide 32 This reverts commit c4345bcf488d24a45a6412cda41474de6baf00da.
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/customshapegeometry.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/oox/source/drawingml/customshapegeometry.cxx b/oox/source/drawingml/customshapegeometry.cxx
index 55cf13200ef3..dada58140b4d 100644
--- a/oox/source/drawingml/customshapegeometry.cxx
+++ b/oox/source/drawingml/customshapegeometry.cxx
@@ -407,9 +407,8 @@ static EnhancedCustomShapeParameter GetAdjCoordinate( CustomShapeProperties& rCu
n = rValue[ 1 ];
}
if ( ( n >= '0' ) && ( n <= '9' ) )
- {
- // seems to be a ST_Coordinate - convert EMUs to 1/100th mm
- aRet.Value = Any( GetCoordinate( rValue ) );
+ { // seems to be a ST_Coordinate
+ aRet.Value = Any( (sal_Int32)(rValue.toInt32() ) );
aRet.Type = EnhancedCustomShapeParameterType::NORMAL;
}
else