diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-06 09:09:41 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-07-06 09:16:02 +0200 |
commit | ffc7b671e213d366e59d39ddbbef66544ebf01e5 (patch) | |
tree | 4bd44fc97f71be6b327b8dac3b5ee487b72d3d81 /sw/qa/extras/rtfimport/rtfimport.cxx | |
parent | loplugin:unusedmethods sax,shell,stoc,basegfx (diff) | |
download | core-ffc7b671e213d366e59d39ddbbef66544ebf01e5.tar.gz core-ffc7b671e213d366e59d39ddbbef66544ebf01e5.zip |
tdf#92481 RTF import: handle \widowctrl
Change-Id: I1af1d6bc150c16a2c6b0fe788a41c8c18caee6c6
Diffstat (limited to 'sw/qa/extras/rtfimport/rtfimport.cxx')
-rw-r--r-- | sw/qa/extras/rtfimport/rtfimport.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 24116ef86ac0..7ec1931d53b9 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -2313,6 +2313,12 @@ DECLARE_RTFIMPORT_TEST(testTdf92061, "tdf92061.rtf") CPPUNIT_ASSERT_EQUAL(OUString("body-after"), getRun(getParagraph(1), 3)->getString()); } +DECLARE_RTFIMPORT_TEST(testTdf92481, "tdf92481.rtf") +{ + // This was 0, RTF_WIDOWCTRL was not imported. + CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int8>(2), getProperty<sal_Int8>(getParagraph(1), "ParaWidows")); +} + CPPUNIT_PLUGIN_IMPLEMENT(); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |