diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-11-19 10:10:42 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-11-19 10:24:51 +0100 |
commit | f0d9beb80f926a05bc7dd87801c6daa7bc268cec (patch) | |
tree | 5588fad77c5629d15f1b186d937be32196a0a958 /sw | |
parent | 03b0ee801e4ba894eed0ba33ffd8b84aea9aca99 (diff) |
DOCX drawingML shape import: handle margins
Change-Id: Ia89552658dc79568cc46b92e949fc1935434e43d
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index b399ef562924..f4df997ea429 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -1514,6 +1514,9 @@ DECLARE_OOXMLIMPORT_TEST(testWpsOnly, "wps-only.docx") // Check position, it was 0. This is a shape, so use getPosition(), not a property. CPPUNIT_ASSERT_EQUAL(sal_Int32(EMU_TO_MM100(671830)), xShape->getPosition().X); + + // Left margin was 0, instead of 114300 EMU's. + CPPUNIT_ASSERT_EQUAL(sal_Int32(318), getProperty<sal_Int32>(xShape, "LeftMargin")); } DECLARE_OOXMLIMPORT_TEST(testFdo70457, "fdo70457.docx") |