summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/dialogs
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2024-09-13 09:02:16 +0200
committerMiklos Vajna <vmiklos@collabora.com>2024-09-13 10:27:14 +0200
commit81d3aefd8598fba835eeb21404fc4bd7dddf98b9 (patch)
tree20062fb46d254bf4971fd7f96e78cb9854b22737 /xmlsecurity/source/dialogs
parente6e7b8498aba69af8eee8edd1d3a1fb17c36836a (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/source/dialogs')
-rw-r--r--xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
index 0b1173f70e7a..15f8e98b4f63 100644
--- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
+++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
@@ -200,7 +200,6 @@ DigitalSignaturesDialog::DigitalSignaturesDialog(
, m_bWarningShowSignMacro(false)
, m_xHintDocFT(m_xBuilder->weld_label(u"dochint"_ustr))
, m_xHintBasicFT(m_xBuilder->weld_label(u"macrohint"_ustr))
- , m_xHintPackageFT(m_xBuilder->weld_label(u"packagehint"_ustr))
, m_xSignaturesLB(m_xBuilder->weld_tree_view(u"signatures"_ustr))
, m_xSigsValidImg(m_xBuilder->weld_image(u"validimg"_ustr))
, m_xSigsValidFI(m_xBuilder->weld_label(u"validft"_ustr))
@@ -256,9 +255,6 @@ DigitalSignaturesDialog::DigitalSignaturesDialog(
case DocumentSignatureMode::Macros:
m_xHintBasicFT->show();
break;
- case DocumentSignatureMode::Package:
- m_xHintPackageFT->show();
- break;
}
if (comphelper::LibreOfficeKit::isActive())