sw/qa/extras/odfimport/data/fdo47267-3.odt |binary sw/qa/extras/odfimport/odfimport.cxx | 5 +++++ 2 files changed, 5 insertions(+)
New commits: commit 3fd25d2fd8dd29a2c775dee2781591074f1f8f34 Author: Jakub Trzebiatowski <ubap....@gmail.com> Date: Tue Jun 7 12:40:39 2016 +0200 fdo47267 odf import unit test Change-Id: I0f745483245b0e75b250ae1c2752f2e157307f0a Reviewed-on: https://gerrit.libreoffice.org/26012 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: jan iversen <j...@documentfoundation.org> diff --git a/sw/qa/extras/odfimport/data/fdo47267-3.odt b/sw/qa/extras/odfimport/data/fdo47267-3.odt new file mode 100644 index 0000000..a30fbc6 Binary files /dev/null and b/sw/qa/extras/odfimport/data/fdo47267-3.odt differ diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx index 065cf78..6a1f493 100644 --- a/sw/qa/extras/odfimport/odfimport.cxx +++ b/sw/qa/extras/odfimport/odfimport.cxx @@ -637,5 +637,10 @@ DECLARE_ODFIMPORT_TEST(testTdf96113, "tdf96113.odt") CPPUNIT_ASSERT_EQUAL(sal_Int32(0x00ff00), getProperty<sal_Int32>(getShape(1), "BackColor")); } +DECLARE_ODFIMPORT_TEST(testFdo47267, "fdo47267-3.odt") +{ + // This was a Style Families getByName() crash +} + CPPUNIT_PLUGIN_IMPLEMENT(); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits