sd/qa/unit/export-tests.cxx | 9 +++++++++ 1 file changed, 9 insertions(+)
New commits: commit 90a37bbaec71d2b551d98f630fc61b9ccfe714ad Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Tue Nov 29 12:45:03 2022 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Tue Nov 29 14:23:30 2022 +0100 sd: test exporting to odg with password protection Change-Id: I45da629f86a965dae016d4860720174b8bb7f183 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143462 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx index 4e781dd2d05c..656a69bb41b0 100644 --- a/sd/qa/unit/export-tests.cxx +++ b/sd/qa/unit/export-tests.cxx @@ -62,6 +62,7 @@ public: void testFdo84043(); void testTdf97630(); void testImpressPasswordExport(); + void testDrawPasswordExport(); void testSwappedOutImageExport(); void testOOoXMLAnimations(); void testBnc480256(); @@ -113,6 +114,7 @@ public: CPPUNIT_TEST(testFdo84043); CPPUNIT_TEST(testTdf97630); CPPUNIT_TEST(testImpressPasswordExport); + CPPUNIT_TEST(testDrawPasswordExport); CPPUNIT_TEST(testSwappedOutImageExport); CPPUNIT_TEST(testOOoXMLAnimations); CPPUNIT_TEST(testBnc480256); @@ -526,6 +528,13 @@ void SdExportTest::testImpressPasswordExport() } } +void SdExportTest::testDrawPasswordExport() +{ + createSdDrawDoc(); + + saveAndReload("draw8", /*pPassword*/ "test"); +} + void SdExportTest::testSwappedOutImageExport() { // Problem was with the swapped out images, which were not swapped in during export.