summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-25 09:44:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-25 11:46:44 +0100
commit3525b4e098290af9953e4be571e242598fcc0a49 (patch)
tree7e5fd269be6226f9c743392b1127fa9a13347d22 /xmlsecurity
parent843ec02fcbc6e1dbc0fbac7e0ee90fd6177711e7 (diff)
loplugin:unusedmethods
Change-Id: I085394e0f4b780dc5b376d5ac0e9d761434e3ead Reviewed-on: https://gerrit.libreoffice.org/68301 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/inc/certificateviewer.hxx2
-rw-r--r--xmlsecurity/source/dialogs/certificateviewer.cxx14
2 files changed, 0 insertions, 16 deletions
diff --git a/xmlsecurity/inc/certificateviewer.hxx b/xmlsecurity/inc/certificateviewer.hxx
index 1db10c125271..c3236bd857ff 100644
--- a/xmlsecurity/inc/certificateviewer.hxx
+++ b/xmlsecurity/inc/certificateviewer.hxx
@@ -113,7 +113,6 @@ private:
std::unique_ptr<weld::TextView> m_xValueDetails;
DECL_LINK(ElementSelectHdl, weld::TreeView&, void);
- void Clear();
void InsertElement(const OUString& rField, const OUString& rValue,
const OUString& rDetails, bool bFixedWidthFont = false);
public:
@@ -148,7 +147,6 @@ private:
DECL_LINK(ViewCertHdl, weld::Button&, void);
DECL_LINK(CertSelectHdl, weld::TreeView&, void);
- void Clear();
void InsertCert(weld::TreeIter* pParent, const OUString& _rName,
const css::uno::Reference< css::security::XCertificate >& rxCert,
bool bValid);
diff --git a/xmlsecurity/source/dialogs/certificateviewer.cxx b/xmlsecurity/source/dialogs/certificateviewer.cxx
index f48591b7f74a..b1e9ff3c3437 100644
--- a/xmlsecurity/source/dialogs/certificateviewer.cxx
+++ b/xmlsecurity/source/dialogs/certificateviewer.cxx
@@ -143,13 +143,6 @@ CertificateViewerGeneralTP::CertificateViewerGeneralTP(weld::Container* pParent,
}
}
-void CertificateViewerDetailsTP::Clear()
-{
- m_xValueDetails->set_text(OUString());
- m_aUserData.clear();
- m_xElementsLB->clear();
-}
-
void CertificateViewerDetailsTP::InsertElement(const OUString& rField, const OUString& rValue,
const OUString& rDetails, bool bFixedWidthFont)
{
@@ -360,13 +353,6 @@ IMPL_LINK_NOARG(CertificateViewerCertPathTP, CertSelectHdl, weld::TreeView&, voi
mxViewCertPB->set_sensitive(bSensitive);
}
-void CertificateViewerCertPathTP::Clear()
-{
- mxCertStatusML->set_text(OUString());
- maUserData.clear();
- mxCertPathLB->clear();
-}
-
void CertificateViewerCertPathTP::InsertCert(weld::TreeIter* pParent, const OUString& rName,
const css::uno::Reference< css::security::XCertificate >& rxCert,
bool bValid)