summaryrefslogtreecommitdiff
path: root/sd/qa
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-11-05 11:11:45 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-11-05 12:21:49 +0100
commit02e52b15908a6d89b4aeb3c349e7414240eb9563 (patch)
treebba76e900607b3398d2014e7612405e1bc5473a6 /sd/qa
parent8ee7e6534fdee89fdfd76750f31c61074dc1640b (diff)
fdo#85813 drawingML export: fix handling of impress tables
Change-Id: Ia17b14c4b27e808ceab388aa33602875e67433a5
Diffstat (limited to 'sd/qa')
-rw-r--r--sd/qa/unit/data/fdo79731.odpbin0 -> 11008 bytes
-rw-r--r--sd/qa/unit/export-tests.cxx11
2 files changed, 11 insertions, 0 deletions
diff --git a/sd/qa/unit/data/fdo79731.odp b/sd/qa/unit/data/fdo79731.odp
new file mode 100644
index 000000000000..d5d094ae0125
--- /dev/null
+++ b/sd/qa/unit/data/fdo79731.odp
Binary files differ
diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx
index 61aead3b1fc5..a33a2a93f9e8 100644
--- a/sd/qa/unit/export-tests.cxx
+++ b/sd/qa/unit/export-tests.cxx
@@ -71,6 +71,7 @@ public:
void testBnc862510_5();
void testBnc822347_EmptyBullet();
void testFdo83751();
+ void testFdo79731();
CPPUNIT_TEST_SUITE(SdExportTest);
CPPUNIT_TEST(testN821567);
@@ -85,6 +86,7 @@ public:
CPPUNIT_TEST(testBnc862510_5);
CPPUNIT_TEST(testBnc822347_EmptyBullet);
CPPUNIT_TEST(testFdo83751);
+ CPPUNIT_TEST(testFdo79731);
CPPUNIT_TEST_SUITE_END();
};
@@ -477,6 +479,15 @@ void SdExportTest::testFdo83751()
xDocShRef->DoClose();
}
+void SdExportTest::testFdo79731()
+{
+ ::sd::DrawDocShellRef xDocShRef = loadURL(getURLFromSrc("/sd/qa/unit/data/fdo79731.odp"), ODP);
+ xDocShRef = saveAndReload(xDocShRef, PPTX);
+ SdDrawDocument *pDoc = xDocShRef->GetDoc();
+ CPPUNIT_ASSERT(pDoc);
+ xDocShRef->DoClose();
+}
+
CPPUNIT_TEST_SUITE_REGISTRATION(SdExportTest);
CPPUNIT_PLUGIN_IMPLEMENT();