diff options
author | Tibor Nagy <tibor.nagy.extern@allotropia.de> | 2024-06-27 12:15:23 +0200 |
---|---|---|
committer | Nagy Tibor <tibor.nagy.extern@allotropia.de> | 2024-06-27 21:56:23 +0200 |
commit | df61a5846197a01c10322ac54731b6df7e0faf07 (patch) | |
tree | 14054c4645257fd05a7bcfaed33a4bcf1c63ded6 /sd | |
parent | a337a6ed162826f95cf52b88241d45c2b392d751 (diff) |
tdf#157019 PPTX import: Workaround for object placeholder shape preset
Follow-up to commit Ic8a8ab3f6dfb7367ecd2c619ce888bf77abef460
"tdf#132557: PPTX import: Workaround for slide footer shape presets"
note:
This is a workaround because there is no custom shape support for
placeholder shapes in LibreOffice.
Change-Id: Iefb9d97e0eb10a04c39b515b11e549aeb7be8f25
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169626
Reviewed-by: Nagy Tibor <tibor.nagy.extern@allotropia.de>
Tested-by: Jenkins
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/import-tests2.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/qa/unit/import-tests2.cxx b/sd/qa/unit/import-tests2.cxx index c01ae0b8747a..3f01a678ca5b 100644 --- a/sd/qa/unit/import-tests2.cxx +++ b/sd/qa/unit/import-tests2.cxx @@ -111,18 +111,18 @@ CPPUNIT_TEST_FIXTURE(SdImportTest2, testTdf160490) sal_Int32 nHeight1 = xShape1->getSize().Height; // Without the fix in place, this test would have failed with - // Expected: placeholder height: 3730 - // Actual : placeholder height: 2627 - CPPUNIT_ASSERT_EQUAL(sal_Int32(3730), nHeight1); + // Expected: placeholder height: 2627 + // Actual : placeholder height: 3476 + CPPUNIT_ASSERT_EQUAL(sal_Int32(2627), nHeight1); uno::Reference<drawing::XShape> xShape2(getShapeFromPage(0, 1), uno::UNO_QUERY); CPPUNIT_ASSERT(xShape2.is()); sal_Int32 nHeight2 = xShape2->getSize().Height; // Without the fix in place, this test would have failed with - // Expected: placeholder height: 3366 - // Actual : placeholder height: 2373 - CPPUNIT_ASSERT_EQUAL(sal_Int32(3366), nHeight2); + // Expected: placeholder height: 2373 + // Actual : placeholder height: 3116 + CPPUNIT_ASSERT_EQUAL(sal_Int32(2373), nHeight2); } CPPUNIT_TEST_FIXTURE(SdImportTest2, testTdf157285) |