summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-11-19 11:34:49 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-11-19 11:43:58 +0100
commit02a2203580226766c4b3b8778430774ff76f90e9 (patch)
tree2b4811264bdfc2c50ebb843121287e7f29f1318d /sw
parent3b0e3e3797072b10738086911488cba86d840e69 (diff)
DOCX drawingML shape import: handle wrap type
Change-Id: I8880c7413b10a284c9e55170afa35527dc7593ea
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ooxmlimport/ooxmlimport.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index f4df997ea429..14c8ba548e41 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -1517,6 +1517,8 @@ DECLARE_OOXMLIMPORT_TEST(testWpsOnly, "wps-only.docx")
// Left margin was 0, instead of 114300 EMU's.
CPPUNIT_ASSERT_EQUAL(sal_Int32(318), getProperty<sal_Int32>(xShape, "LeftMargin"));
+ // Wrap type was PARALLEL.
+ CPPUNIT_ASSERT_EQUAL(text::WrapTextMode_THROUGHT, getProperty<text::WrapTextMode>(xShape, "Surround"));
}
DECLARE_OOXMLIMPORT_TEST(testFdo70457, "fdo70457.docx")