sw/qa/extras/ooxmlimport/data/fdo81486.docx |binary sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 8 ++++++++ 2 files changed, 8 insertions(+)
New commits: commit cb995849939e4b732dda952ec994e42ac0035348 Author: Charu Tyagi <charu.ty...@ericsson.com> Date: Tue Jul 22 16:31:13 2014 +0530 fdo#81486:Test case for patch that fixes bug 81486 Change-Id: Ife96b8313595f4a4e52f46e11130bd37a994c397 Reviewed-on: https://gerrit.libreoffice.org/10454 Reviewed-by: Michael Stahl <mst...@redhat.com> Tested-by: Michael Stahl <mst...@redhat.com> diff --git a/sw/qa/extras/ooxmlimport/data/fdo81486.docx b/sw/qa/extras/ooxmlimport/data/fdo81486.docx new file mode 100644 index 0000000..6e680c3 Binary files /dev/null and b/sw/qa/extras/ooxmlimport/data/fdo81486.docx differ diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index a8c0936..eca47da 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -229,6 +229,14 @@ DECLARE_OOXMLIMPORT_TEST(testFdo74745, "fdo74745.docx") CPPUNIT_ASSERT_EQUAL(text->getString(),OUString("09/02/14")); } +DECLARE_OOXMLIMPORT_TEST(testFdo81486, "fdo81486.docx") +{ + uno::Reference<text::XTextRange > paragraph = getParagraph(1); + uno::Reference<text::XTextRange> text(paragraph, uno::UNO_QUERY); + CPPUNIT_ASSERT_EQUAL(text->getString(),OUString("CustomTitle")); +} + + DECLARE_OOXMLIMPORT_TEST(testN751077, "n751077.docx") { /* _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits