summaryrefslogtreecommitdiff
path: root/sw/qa/extras/rtfimport
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-01-05 14:10:22 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-01-05 14:26:51 +0100
commitf4db3ac593c7c49dc584399a40fa8275025adb3c (patch)
treef4f5388cc7a98dfb5f6d9811312a0a077f0f21a1 /sw/qa/extras/rtfimport
parent0282ab3c3aa89938d944e8823d0ae4cd0cdeaaf2 (diff)
RTF export: write RTF_FTNSEP and RTF_CHFTNSEP if necessary
Change-Id: Ie680436df68ea6287437f792d97259ee0a840ee1
Diffstat (limited to 'sw/qa/extras/rtfimport')
-rw-r--r--sw/qa/extras/rtfimport/data/fdo68787.rtf9
-rw-r--r--sw/qa/extras/rtfimport/rtfimport.cxx7
2 files changed, 0 insertions, 16 deletions
diff --git a/sw/qa/extras/rtfimport/data/fdo68787.rtf b/sw/qa/extras/rtfimport/data/fdo68787.rtf
deleted file mode 100644
index 4c8a68f1db8e..000000000000
--- a/sw/qa/extras/rtfimport/data/fdo68787.rtf
+++ /dev/null
@@ -1,9 +0,0 @@
-{\rtf1
-\ftnbj
-{\*\ftnsep \chftnsep \par}
-\pard\plain
-This will have a separator
-\chftn
-{\footnote \chftn Footnote.}
-\par
-}
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx
index 0ad517738405..a5ab93d3df15 100644
--- a/sw/qa/extras/rtfimport/rtfimport.cxx
+++ b/sw/qa/extras/rtfimport/rtfimport.cxx
@@ -1405,13 +1405,6 @@ DECLARE_RTFIMPORT_TEST(testBackground, "background.rtf")
CPPUNIT_ASSERT_EQUAL(false, bool(getProperty<sal_Bool>(getShape(2), "Opaque")));
}
-DECLARE_RTFIMPORT_TEST(testFdo68787, "fdo68787.rtf")
-{
- uno::Reference<beans::XPropertySet> xPageStyle(getStyles("PageStyles")->getByName(DEFAULT_STYLE), uno::UNO_QUERY);
- // This was 0, the 'lack of \chftnsep' <-> '0 line width' mapping was missing in the RTF tokenizer.
- CPPUNIT_ASSERT_EQUAL(sal_Int32(25), getProperty<sal_Int32>(xPageStyle, "FootnoteLineRelativeWidth"));
-}
-
CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */