diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-09-13 09:02:16 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-09-13 10:27:14 +0200 |
commit | 81d3aefd8598fba835eeb21404fc4bd7dddf98b9 (patch) | |
tree | 20062fb46d254bf4971fd7f96e78cb9854b22737 /xmlsecurity/inc | |
parent | e6e7b8498aba69af8eee8edd1d3a1fb17c36836a (diff) |
[API CHANGE] XDocumentDigitalSignatures: remove deprecated / unused functions
Some functions were already a stub and only aborted on calling them.
The *Package* functions were added in commit
c9ed2f359a9e899c3046c8151c831e24250fddbb (INTEGRATION: CWS xmlsec08
(1.4.24); FILE MERGED 2005/02/22 13:07:19 mt 1.4.24.1: #i36682# Accept
separate Stream for signatures..., 2005-03-10), but it seems nobody
called them.
This also means that DocumentSignatureMode is now never set to
DocumentSignatureMode::Package, so remove that as well.
It seems to be unlikely that this non-published service was used by
3rd-party code, since it was specific to the needs of sfx2/ code, not
generic functionality that could be useful in other contexts.
Change-Id: Icfed9a0e6568f6eb21f9236901af01f1915bf2f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173313
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r-- | xmlsecurity/inc/digitalsignaturesdialog.hxx | 1 | ||||
-rw-r--r-- | xmlsecurity/inc/documentsignaturehelper.hxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/xmlsecurity/inc/digitalsignaturesdialog.hxx b/xmlsecurity/inc/digitalsignaturesdialog.hxx index a56175fff5b4..924288968961 100644 --- a/xmlsecurity/inc/digitalsignaturesdialog.hxx +++ b/xmlsecurity/inc/digitalsignaturesdialog.hxx @@ -53,7 +53,6 @@ private: std::unique_ptr<weld::Label> m_xHintDocFT; std::unique_ptr<weld::Label> m_xHintBasicFT; - std::unique_ptr<weld::Label> m_xHintPackageFT; std::unique_ptr<weld::TreeView> m_xSignaturesLB; std::unique_ptr<weld::Image> m_xSigsValidImg; std::unique_ptr<weld::Label> m_xSigsValidFI; diff --git a/xmlsecurity/inc/documentsignaturehelper.hxx b/xmlsecurity/inc/documentsignaturehelper.hxx index eb50b3761423..e13bdc81911d 100644 --- a/xmlsecurity/inc/documentsignaturehelper.hxx +++ b/xmlsecurity/inc/documentsignaturehelper.hxx @@ -36,7 +36,6 @@ enum class DocumentSignatureMode { Content, Macros, - Package }; enum class DocumentSignatureAlgorithm |