From d795fb224e52c66c4585ed1e079a2b7601a07eda Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 10 Mar 2014 10:10:21 +0100 Subject: DOCX strict import: handle lockedCanvas Change-Id: I44c936a8972e1ae101aeab62ace61f4470d92b34 --- sw/qa/extras/ooxmlimport/data/strict-lockedcanvas.docx | Bin 0 -> 12345 bytes sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100644 sw/qa/extras/ooxmlimport/data/strict-lockedcanvas.docx (limited to 'sw/qa/extras/ooxmlimport') diff --git a/sw/qa/extras/ooxmlimport/data/strict-lockedcanvas.docx b/sw/qa/extras/ooxmlimport/data/strict-lockedcanvas.docx new file mode 100644 index 000000000000..d31be7e92035 Binary files /dev/null and b/sw/qa/extras/ooxmlimport/data/strict-lockedcanvas.docx differ diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index 8c7d97a14ed3..d09631be31c9 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -1931,6 +1931,12 @@ DECLARE_OOXMLIMPORT_TEST(testStrict, "strict.docx") CPPUNIT_ASSERT(xServiceInfo->supportsService("com.sun.star.text.TextEmbeddedObject")); } +DECLARE_OOXMLIMPORT_TEST(testStrictLockedcanvas, "strict-lockedcanvas.docx") +{ + // locked canvas shape was missing. + getShape(1); +} + #endif CPPUNIT_PLUGIN_IMPLEMENT(); -- cgit v1.2.3