diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2017-08-09 12:15:53 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2017-08-09 13:46:32 +0200 |
commit | 2b562f7531d097def1cf312f13df2fe9e9789ebe (patch) | |
tree | 0cb00f5df255e0906941c92db61b8ac1be4cd27d /sw | |
parent | 5937eefe533fba332ab6a83da02496bb4b0bd3db (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>
Diffstat (limited to 'sw')
-rwxr-xr-x | sw/qa/extras/ww8export/data/tdf111480.doc | bin | 0 -> 27648 bytes | |||
-rw-r--r-- | sw/qa/extras/ww8export/ww8export2.cxx | 9 |
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 Binary files differnew file mode 100755 index 000000000000..888126066624 --- /dev/null +++ b/sw/qa/extras/ww8export/data/tdf111480.doc diff --git a/sw/qa/extras/ww8export/ww8export2.cxx b/sw/qa/extras/ww8export/ww8export2.cxx index 70aa498d5fdc..7ace54f52f61 100644 --- a/sw/qa/extras/ww8export/ww8export2.cxx +++ b/sw/qa/extras/ww8export/ww8export2.cxx @@ -162,6 +162,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: */ |