summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-04-28 13:05:55 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-04-29 07:06:08 +0200
commit9be543a27ab18427a1c4e66a70cc49b0332b6aa1 (patch)
tree05b664d34427211f312ab028fb8f854b05576fa7 /sd
parentbedba76adb9b1421a7d939cfef44b8194e987888 (diff)
tdf#119087 Don't treat OOXML strict namespace as custom XML
Change-Id: I5037ac09f57c92e02e330cbc906da3afbe4c747c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93056 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/data/pptx/tdf119087.pptxbin0 -> 15035 bytes
-rw-r--r--sd/qa/unit/export-tests-ooxml2.cxx9
2 files changed, 9 insertions, 0 deletions
diff --git a/sd/qa/unit/data/pptx/tdf119087.pptx b/sd/qa/unit/data/pptx/tdf119087.pptx
new file mode 100644
index 000000000000..d70bc8b0d4ff
--- /dev/null
+++ b/sd/qa/unit/data/pptx/tdf119087.pptx
Binary files differ
diff --git a/sd/qa/unit/export-tests-ooxml2.cxx b/sd/qa/unit/export-tests-ooxml2.cxx
index b2b4439d9924..6f77a2ecd849 100644
--- a/sd/qa/unit/export-tests-ooxml2.cxx
+++ b/sd/qa/unit/export-tests-ooxml2.cxx
@@ -191,6 +191,7 @@ public:
void testTdf98603();
void testTdf129372();
void testShapeGlowEffect();
+ void testTdf119087();
void testTdf131554();
void testTdf132282();
@@ -301,6 +302,7 @@ public:
CPPUNIT_TEST(testTdf98603);
CPPUNIT_TEST(testTdf129372);
CPPUNIT_TEST(testShapeGlowEffect);
+ CPPUNIT_TEST(testTdf119087);
CPPUNIT_TEST(testTdf131554);
CPPUNIT_TEST(testTdf132282);
@@ -2804,6 +2806,13 @@ void SdOOXMLExportTest2::testShapeGlowEffect()
CPPUNIT_ASSERT_EQUAL(Color(0xFFC000), nColor);
}
+void SdOOXMLExportTest2::testTdf119087()
+{
+ ::sd::DrawDocShellRef xDocShRef = loadURL(m_directories.getURLFromSrc("sd/qa/unit/data/pptx/tdf119087.pptx"), PPTX);
+ xDocShRef = saveAndReload( xDocShRef.get(), PPTX );
+ // This would fail both on export validation, and reloading the saved pptx file.
+}
+
void SdOOXMLExportTest2::testTdf131554()
{
::sd::DrawDocShellRef xDocShRef = loadURL(m_directories.getURLFromSrc("sd/qa/unit/data/pptx/tdf131554.pptx"), PPTX);