summaryrefslogtreecommitdiff
path: root/sw/qa/extras
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2017-08-09 12:15:53 +0200
committerMichael Stahl <mstahl@redhat.com>2017-09-19 20:32:49 +0200
commitf289357c6bc5e145e05075de4749591a05c37844 (patch)
tree3b071a54b38e02116426b114900c38111325e124 /sw/qa/extras
parentc97c13b45411a4eeeca10912518c8966810e7be4 (diff)
tdf#111480 Circular text was imported horizontally
Change-Id: I84a6c3a30fd1dddf104ad8bf037a5e0b2a90d376 Reviewed-on: https://gerrit.libreoffice.org/40912 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/42350 Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/qa/extras')
-rwxr-xr-xsw/qa/extras/ww8export/data/tdf111480.docbin0 -> 27648 bytes
-rw-r--r--sw/qa/extras/ww8export/ww8export2.cxx9
2 files changed, 9 insertions, 0 deletions
diff --git a/sw/qa/extras/ww8export/data/tdf111480.doc b/sw/qa/extras/ww8export/data/tdf111480.doc
new file mode 100755
index 000000000000..888126066624
--- /dev/null
+++ b/sw/qa/extras/ww8export/data/tdf111480.doc
Binary files differ
diff --git a/sw/qa/extras/ww8export/ww8export2.cxx b/sw/qa/extras/ww8export/ww8export2.cxx
index 681e3173b519..c7f124e85f15 100644
--- a/sw/qa/extras/ww8export/ww8export2.cxx
+++ b/sw/qa/extras/ww8export/ww8export2.cxx
@@ -115,6 +115,15 @@ DECLARE_WW8EXPORT_TEST(testTdf91687, "tdf91687.doc")
CPPUNIT_ASSERT_EQUAL((sal_Int32)18105, xWatermark->getSize().Width);
}
+DECLARE_WW8EXPORT_TEST(testTdf111480, "tdf111480.doc")
+{
+ // Circular text was imported horizontally
+ uno::Reference<drawing::XShape> xText = getShape(1);
+
+ CPPUNIT_ASSERT(xText->getSize().Height > 11000);
+ CPPUNIT_ASSERT(xText->getSize().Width > 11000);
+}
+
CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */