summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/export-tests.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx
index a6efbee97477..4e781dd2d05c 100644
--- a/sd/qa/unit/export-tests.cxx
+++ b/sd/qa/unit/export-tests.cxx
@@ -61,6 +61,7 @@ public:
void testFillBitmapUnused();
void testFdo84043();
void testTdf97630();
+ void testImpressPasswordExport();
void testSwappedOutImageExport();
void testOOoXMLAnimations();
void testBnc480256();
@@ -111,6 +112,7 @@ public:
CPPUNIT_TEST(testFillBitmapUnused);
CPPUNIT_TEST(testFdo84043);
CPPUNIT_TEST(testTdf97630);
+ CPPUNIT_TEST(testImpressPasswordExport);
CPPUNIT_TEST(testSwappedOutImageExport);
CPPUNIT_TEST(testOOoXMLAnimations);
CPPUNIT_TEST(testBnc480256);
@@ -512,6 +514,18 @@ void SdExportTest::testTdf97630()
1);
}
+void SdExportTest::testImpressPasswordExport()
+{
+ std::vector<OUString> vFormat{ "impress8", "Impress Office Open XML" };
+
+ for (size_t i = 0; i < vFormat.size(); i++)
+ {
+ createSdImpressDoc();
+
+ saveAndReload(vFormat[i], /*pPassword*/ "test");
+ }
+}
+
void SdExportTest::testSwappedOutImageExport()
{
// Problem was with the swapped out images, which were not swapped in during export.