diff options
Diffstat (limited to 'sw/qa/extras/rtfimport/rtfimport.cxx')
-rw-r--r-- | sw/qa/extras/rtfimport/rtfimport.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 4aa390a99884..bf8188db99d6 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -319,6 +319,15 @@ DECLARE_RTFIMPORT_TEST(testFdo47326, "fdo47326.rtf") CPPUNIT_ASSERT_EQUAL(19, getLength()); } +DECLARE_RTFIMPORT_TEST(testTdf108951, "tdf108951.rtf") +{ + // This test is import-only, as we assert the list ID, which is OK to + // re-order on export, but then this test would not pass anymore. + + // \ls2 was imported as WWNum1. + CPPUNIT_ASSERT_EQUAL(OUString("WWNum2"), getProperty<OUString>(getParagraph(1), "NumberingStyleName")); +} + DECLARE_RTFIMPORT_TEST(testFdo47036, "fdo47036.rtf") { uno::Reference<drawing::XDrawPageSupplier> xDrawPageSupplier(mxComponent, uno::UNO_QUERY); |