diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-11-29 12:29:43 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-11-29 14:04:50 +0100 |
commit | 958c08ad86d56839faf28a02097500bad7b1eb76 (patch) | |
tree | 253c5276171bf83c9bb8dca4887e622c0c44d45c /test | |
parent | 9022e69b4ceb3c8986a3b8637a661baeebef587a (diff) |
sd: test exporting to odp/pptx with password protection
exporting to ppt with password protection is not supported
Change-Id: Ic04c0046b91b76688c947bb4ae3b3cf90046080c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143459
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/source/unoapi_test.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/source/unoapi_test.cxx b/test/source/unoapi_test.cxx index 60c010c17e98..e8198876537a 100644 --- a/test/source/unoapi_test.cxx +++ b/test/source/unoapi_test.cxx @@ -152,7 +152,8 @@ void UnoApiTest::save(const OUString& rFilter, const char* pPassword) if (pPassword) { - if (rFilter != "Office Open XML Text" && rFilter != "Calc Office Open XML") + if (rFilter != "Office Open XML Text" && rFilter != "Calc Office Open XML" + && rFilter != "Impress Office Open XML") { aMediaDescriptor["Password"] <<= OUString::createFromAscii(pPassword); } |