[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - oox/source
Jan Holesovsky
kendy at suse.cz
Wed May 22 00:51:01 PDT 2013
oox/source/drawingml/customshapegeometry.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit c4345bcf488d24a45a6412cda41474de6baf00da
Author: Jan Holesovsky <kendy at suse.cz>
Date: Wed May 15 16:08:26 2013 +0200
bnc#819614: Fix runaway lines.
Change-Id: I360ec44872dbb555870d7d3fc8a9ed81c95e8c07
diff --git a/oox/source/drawingml/customshapegeometry.cxx b/oox/source/drawingml/customshapegeometry.cxx
index dada581..55cf132 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
More information about the Libreoffice-commits
mailing list