diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ww8export/data/tdf134264.docx | bin | 0 -> 15412 bytes | |||
-rw-r--r-- | sw/qa/extras/ww8export/ww8export3.cxx | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sw/qa/extras/ww8export/data/tdf134264.docx b/sw/qa/extras/ww8export/data/tdf134264.docx Binary files differnew file mode 100644 index 000000000000..5acb4cf4e6ce --- /dev/null +++ b/sw/qa/extras/ww8export/data/tdf134264.docx diff --git a/sw/qa/extras/ww8export/ww8export3.cxx b/sw/qa/extras/ww8export/ww8export3.cxx index f998ffe1d85a..5c1892ce5205 100644 --- a/sw/qa/extras/ww8export/ww8export3.cxx +++ b/sw/qa/extras/ww8export/ww8export3.cxx @@ -245,6 +245,14 @@ DECLARE_WW8EXPORT_TEST(testTdf79435_legacyInputFields, "tdf79435_legacyInputFiel CPPUNIT_ASSERT_EQUAL(OUString("date"), sTmp); } +DECLARE_WW8EXPORT_TEST(testTdf134264, "tdf134264.docx") +{ + // Without the fix in place, ADDRESSBLOCK fields would have been lost after RT + CPPUNIT_ASSERT_EQUAL(OUString("MF"), getParagraph(1)->getString()); + CPPUNIT_ASSERT_EQUAL(OUString("M19"), getParagraph(2)->getString()); + CPPUNIT_ASSERT_EQUAL(OUString("1815"), getParagraph(3)->getString()); +} + DECLARE_WW8EXPORT_TEST(testTdf120225_textControlCrossRef, "tdf120225_textControlCrossRef.doc") { uno::Reference<text::XTextDocument> xTextDocument(mxComponent, uno::UNO_QUERY); |