diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-04-12 15:01:23 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-04-12 14:49:45 +0000 |
commit | cec5f2eab25578a9859134d697c200089c597faa (patch) | |
tree | fa26ce8102a332653109759fdf9d151db0c77332 /sw/qa/extras/rtfimport/rtfimport.cxx | |
parent | fix internal icu build on armhf (taken from Debians icu package) (diff) | |
download | core-cec5f2eab25578a9859134d697c200089c597faa.tar.gz core-cec5f2eab25578a9859134d697c200089c597faa.zip |
tdf#75614 RTF import: fix missing text after footnote
Change-Id: I5901094cb603c35a1cd8ac718fd434a9dd55729b
Reviewed-on: https://gerrit.libreoffice.org/15266
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
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 7be90d95f710..5262147cb6c1 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -2226,6 +2226,12 @@ DECLARE_RTFIMPORT_TEST(testFdo89496, "fdo89496.rtf") CPPUNIT_ASSERT(xShape.is()); } +DECLARE_RTFIMPORT_TEST(testFdo75614, "tdf75614.rtf") +{ + // Text after the footnote was missing, so this resulted in a css::container::NoSuchElementException. + CPPUNIT_ASSERT_EQUAL(OUString("after."), getRun(getParagraph(1), 3)->getString()); +} + CPPUNIT_PLUGIN_IMPLEMENT(); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |