diff options
Diffstat (limited to 'sd/qa/unit/export-tests-ooxml3.cxx')
-rw-r--r-- | sd/qa/unit/export-tests-ooxml3.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sd/qa/unit/export-tests-ooxml3.cxx b/sd/qa/unit/export-tests-ooxml3.cxx index ccbfc6e35335..3931c53b912b 100644 --- a/sd/qa/unit/export-tests-ooxml3.cxx +++ b/sd/qa/unit/export-tests-ooxml3.cxx @@ -233,7 +233,7 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest3, testFontScale) // Rounding errors possible, approximate value (+/- 1%) OUString sScale = getXPath( pXmlDocContent, "/p:sld/p:cSld/p:spTree/p:sp/p:txBody/a:bodyPr/a:normAutofit", "fontScale"); - CPPUNIT_ASSERT_DOUBLES_EQUAL(sal_Int32(76000), sScale.toInt32(), 1000); + CPPUNIT_ASSERT_DOUBLES_EQUAL(sal_Int32(81111), sScale.toInt32(), 1000); } CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest3, testShapeAutofitPPTX) @@ -1914,15 +1914,12 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest3, testAutofittedTextboxIndent) save("Impress Office Open XML"); - // Without the accompanying fix in place, these tests would have failed with: - // - Expected: 691200 - // - Actual : 1080000 - // i.e. paragraph indent wasn't scaled proportionally to autofitted textbox - // font scale on export + // Check that the indent hasn't changed and wasn't scaled when exporting + // (the behaviour changed). xmlDocUniquePtr pXmlDocContent1 = parseExport("ppt/slides/slide1.xml"); assertXPath(pXmlDocContent1, "/p:sld/p:cSld/p:spTree/p:sp/p:txBody/a:p[1]/a:pPr", "marL", - "712800"); + "1080000"); } CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest3, testTdf151622_oleIcon) |