summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/dialogs/macrosecurity.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-24 08:31:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-24 08:57:01 +0000
commitf0593478571009139cd12bac11a9b38e51c42f96 (patch)
tree7901d4c671ac3a8d8622cccabbffbbdf91f5cc6a /xmlsecurity/source/dialogs/macrosecurity.cxx
parentad5bf6b72c89caf0ed7110e4a84e2d6bf1807a24 (diff)
loplugin:unusedfields
improve the plugin to find fields which are only assigned to in the constructor Change-Id: I95b5be238ebba83d950ca15093abdd1849740359 Reviewed-on: https://gerrit.libreoffice.org/35613 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source/dialogs/macrosecurity.cxx')
-rw-r--r--xmlsecurity/source/dialogs/macrosecurity.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx
index ac06fabfaac3..63a112361280 100644
--- a/xmlsecurity/source/dialogs/macrosecurity.cxx
+++ b/xmlsecurity/source/dialogs/macrosecurity.cxx
@@ -56,10 +56,8 @@ IMPL_LINK_NOARG(MacroSecurity, OkBtnHdl, Button*, void)
}
MacroSecurity::MacroSecurity( vcl::Window* _pParent,
- const css::uno::Reference< css::uno::XComponentContext> &_rxCtx,
const css::uno::Reference< css::xml::crypto::XSecurityEnvironment >& _rxSecurityEnvironment)
: TabDialog(_pParent, "MacroSecurityDialog", "xmlsec/ui/macrosecuritydialog.ui")
- , mxCtx(_rxCtx)
, mxSecurityEnvironment(_rxSecurityEnvironment)
{
get(m_pTabCtrl, "tabcontrol");