summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTünde Tóth <toth.tunde@nisz.hu>2021-10-12 15:11:48 +0200
committerLászló Németh <nemeth@numbertext.org>2021-10-26 11:59:19 +0200
commit1b53c1dfc76f08ca7df40a0673aa50eca700d072 (patch)
treea1b4d8b32e9a7ff7e0e95670a6358807349f6270 /include
parent31ded6f8718a90c7b3b9eb36909c2b7a0c6e9b68 (diff)
tdf#144374 DOCX: export the password for editing
The password for editing wasn't exported in DOCX, resulting unprotected documents in Writer and in MSO 2019 or newer. Change-Id: Ieb8a339795635bc1c4223ccbe2a40ea85222cc2e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123543 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/docpasswordhelper.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/comphelper/docpasswordhelper.hxx b/include/comphelper/docpasswordhelper.hxx
index bf36cb9250aa..fc40739184bc 100644
--- a/include/comphelper/docpasswordhelper.hxx
+++ b/include/comphelper/docpasswordhelper.hxx
@@ -113,6 +113,8 @@ public:
static css::uno::Sequence< css::beans::PropertyValue >
GenerateNewModifyPasswordInfo( std::u16string_view aPassword );
+ static css::uno::Sequence<css::beans::PropertyValue>
+ GenerateNewModifyPasswordInfoOOXML(std::u16string_view aPassword);
/** This helper function allows to check whether
the "Password to modify" provided by user is the correct one.