summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJakub Trzebiatowski <ubap.dev@gmail.com>2016-06-07 12:40:39 +0200
committerjan iversen <jani@documentfoundation.org>2016-06-08 05:59:36 +0000
commit3fd25d2fd8dd29a2c775dee2781591074f1f8f34 (patch)
tree3716ed03299100a801c2e1e49993724ca8841134 /sw
parent66592cc3dd00813eb07aea7396f123e50af4235a (diff)
fdo47267 odf import unit test
Change-Id: I0f745483245b0e75b250ae1c2752f2e157307f0a Reviewed-on: https://gerrit.libreoffice.org/26012 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/odfimport/data/fdo47267-3.odtbin0 -> 223670 bytes
-rw-r--r--sw/qa/extras/odfimport/odfimport.cxx5
2 files changed, 5 insertions, 0 deletions
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 000000000000..a30fbc6eb263
--- /dev/null
+++ b/sw/qa/extras/odfimport/data/fdo47267-3.odt
Binary files differ
diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx
index 065cf787aaa8..6a1f493b1ae0 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: */