summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/source/drawingml/customshapegeometry.cxx5
-rw-r--r--sd/qa/unit/import-tests.cxx2
2 files changed, 3 insertions, 4 deletions
diff --git a/oox/source/drawingml/customshapegeometry.cxx b/oox/source/drawingml/customshapegeometry.cxx
index 20458f0f3591..3155b893c198 100644
--- a/oox/source/drawingml/customshapegeometry.cxx
+++ b/oox/source/drawingml/customshapegeometry.cxx
@@ -406,9 +406,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
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index 8babd50d785d..cd2f5fffe2f1 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -65,7 +65,7 @@ void SdFiltersTest::testDocumentLayout()
{ "pptx/fdo47434-all.pptx", "pptx/xml/fdo47434_page" },
{ "n758621.ppt", "xml/n758621_" },
{ "fdo64586.ppt", "xml/fdo64586_" },
- { "n819614.pptx", "xml/n819614_" },
+ // FIXME re-enable again when a better fix is found { "n819614.pptx", "xml/n819614_" },
{ "n820786.pptx", "xml/n820786_" },
};