From a66b9c9adfb2306a021cd286c8346dd1058499ce Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 21 Jul 2023 11:52:24 +0200 Subject: loplugin:unusedfields Change-Id: Ic2e9de67a00bb9ca8ab4d0f7528b22c58d0cc360 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154721 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'xmlsecurity/source') diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index 2e14e609773f..4c8c2fea56b7 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -84,8 +84,6 @@ namespace class SaveODFItem: public utl::ConfigItem { private: - sal_Int16 m_nODF; - virtual void ImplCommit() override; public: @@ -96,7 +94,7 @@ namespace void SaveODFItem::ImplCommit() {} void SaveODFItem::Notify( const css::uno::Sequence< OUString >& ) {} - SaveODFItem::SaveODFItem(): utl::ConfigItem("Office.Common/Save"), m_nODF(0) + SaveODFItem::SaveODFItem(): utl::ConfigItem("Office.Common/Save") { OUString sDef("ODF/DefaultVersion"); Sequence< css::uno::Any > aValues = GetProperties( Sequence(&sDef,1) ); @@ -110,8 +108,6 @@ namespace throw uno::RuntimeException( "[xmlsecurity]SaveODFItem::SaveODFItem(): Wrong Type!", nullptr ); - - m_nODF = nTmp; } std::vector& GetGUIServers() -- cgit