summaryrefslogtreecommitdiff
path: root/xmlsecurity/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-07-21 11:52:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-07-21 22:16:34 +0200
commita66b9c9adfb2306a021cd286c8346dd1058499ce (patch)
tree1561f1d3d407b63ccd8ae3158340d9c9b7e974e9 /xmlsecurity/source
parent70d78fdac115a98b64c8e3333519c0a80573ee4a (diff)
loplugin:unusedfields
Change-Id: Ic2e9de67a00bb9ca8ab4d0f7528b22c58d0cc360 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154721 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r--xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx6
1 files changed, 1 insertions, 5 deletions
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<OUString>(&sDef,1) );
@@ -110,8 +108,6 @@ namespace
throw uno::RuntimeException(
"[xmlsecurity]SaveODFItem::SaveODFItem(): Wrong Type!",
nullptr );
-
- m_nODF = nTmp;
}
std::vector<std::u16string_view>& GetGUIServers()