diff options
author | Tünde Tóth <toth.tunde@nisz.hu> | 2021-10-06 10:19:05 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2021-10-13 14:45:30 +0200 |
commit | 5697e09b3e726a38b58ce31ac0c3a97e7871c74a (patch) | |
tree | 996ff2c6c68898347615680f062f600879418e0a /sd/source/ui | |
parent | a3416ed058884a1fcaae0659ff6e71f5a7dff8d0 (diff) |
tdf#144943 PPTX import: fix permission for editing
The passwords for editing in PPTX documents
created with PowerPoint weren't asked and verified.
Change-Id: I62eb4fd68aac6422c1221a639f4815459ab556c9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123130
Tested-by: Jenkins
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sd/source/ui')
-rw-r--r-- | sd/source/ui/unoidl/UnoDocumentSettings.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.cxx b/sd/source/ui/unoidl/UnoDocumentSettings.cxx index 24ac8f626dbe..5d13db6c4ecd 100644 --- a/sd/source/ui/unoidl/UnoDocumentSettings.cxx +++ b/sd/source/ui/unoidl/UnoDocumentSettings.cxx @@ -951,6 +951,8 @@ DocumentSettings::_setPropertyValues(const PropertyMapEntry** ppEntries, if ( !pDocSh->SetModifyPasswordInfo( aInfo ) ) throw beans::PropertyVetoException( "The hash is not allowed to be changed now!" ); + else + bOk = true; } break; |