diff options
-rw-r--r-- | sw/qa/extras/ww8export/data/tdf120003.doc | bin | 0 -> 10752 bytes | |||
-rw-r--r-- | sw/qa/extras/ww8export/ww8export3.cxx | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/sw/qa/extras/ww8export/data/tdf120003.doc b/sw/qa/extras/ww8export/data/tdf120003.doc Binary files differnew file mode 100644 index 000000000000..c544fa5a96e0 --- /dev/null +++ b/sw/qa/extras/ww8export/data/tdf120003.doc diff --git a/sw/qa/extras/ww8export/ww8export3.cxx b/sw/qa/extras/ww8export/ww8export3.cxx index 00ab36ac67a2..e18df90483d3 100644 --- a/sw/qa/extras/ww8export/ww8export3.cxx +++ b/sw/qa/extras/ww8export/ww8export3.cxx @@ -210,6 +210,15 @@ CPPUNIT_TEST_FIXTURE(SwModelTestBase, testChicagoNumberingFootnote) CPPUNIT_ASSERT_EQUAL(nExpected, nActual); } +DECLARE_WW8EXPORT_TEST(testHyperLinkURLSaving, "tdf120003.doc") +{ + OUString URL = getProperty<OUString>(getShape(1), "HyperLinkURL"); + // Without the fix in place, this test would have failed with + // - Expected: https://www.libreoffice.org/ + // - Actual : tps://www.libreoffice.org/ + CPPUNIT_ASSERT_EQUAL(OUString("https://www.libreoffice.org/"), URL); +} + DECLARE_WW8EXPORT_TEST(testdf79553_lineNumbers, "tdf79553_lineNumbers.doc") { bool bValue = false; |