summaryrefslogtreecommitdiff
path: root/xmlsecurity/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-20 15:57:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-23 08:41:51 +0200
commita8a11fbadc4cb6a26981be2b539066f0845a9000 (patch)
tree106e5b1eb00e894e302d69fd6894930f69ebd9fb /xmlsecurity/inc
parent150c12fc0fba2c2f4b08b4298678ee49676ebae0 (diff)
loplugin:unusedfields,can-be-const in xmlsecurity
Change-Id: I271b1d69d5231ab76cb49fb0101c09d7c0ef6b79 Reviewed-on: https://gerrit.libreoffice.org/57779 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r--xmlsecurity/inc/certificatechooser.hxx2
-rw-r--r--xmlsecurity/inc/certificateviewer.hxx6
-rw-r--r--xmlsecurity/inc/digitalsignaturesdialog.hxx4
-rw-r--r--xmlsecurity/inc/documentsignaturemanager.hxx2
-rw-r--r--xmlsecurity/inc/macrosecurity.hxx4
5 files changed, 9 insertions, 9 deletions
diff --git a/xmlsecurity/inc/certificatechooser.hxx b/xmlsecurity/inc/certificatechooser.hxx
index 9e2406c4fd63..d01b95edda24 100644
--- a/xmlsecurity/inc/certificatechooser.hxx
+++ b/xmlsecurity/inc/certificatechooser.hxx
@@ -73,7 +73,7 @@ private:
VclPtr<Edit> m_pDescriptionED;
bool mbInitialized;
- UserAction meAction;
+ UserAction const meAction;
OUString msPreferredKey;
css::uno::Reference<css::security::XCertificate> mxEncryptToSelf;
diff --git a/xmlsecurity/inc/certificateviewer.hxx b/xmlsecurity/inc/certificateviewer.hxx
index cd30915b3f83..1ef9530510fb 100644
--- a/xmlsecurity/inc/certificateviewer.hxx
+++ b/xmlsecurity/inc/certificateviewer.hxx
@@ -50,7 +50,7 @@ private:
sal_uInt16 mnDetailsId;
sal_uInt16 mnPathId;
- bool mbCheckForPrivateKey;
+ bool const mbCheckForPrivateKey;
css::uno::Reference< css::xml::crypto::XSecurityEnvironment > mxSecurityEnvironment;
css::uno::Reference< css::security::XCertificate > mxCert;
@@ -100,8 +100,8 @@ private:
VclPtr<SvSimpleTableContainer> m_pElementsLBContainer;
VclPtr<SvSimpleTable> m_pElementsLB;
VclPtr<VclMultiLineEdit> m_pValueDetails;
- vcl::Font m_aStdFont;
- vcl::Font m_aFixedWidthFont;
+ vcl::Font m_aStdFont;
+ vcl::Font m_aFixedWidthFont;
DECL_LINK( ElementSelectHdl, SvTreeListBox*, void );
void Clear();
diff --git a/xmlsecurity/inc/digitalsignaturesdialog.hxx b/xmlsecurity/inc/digitalsignaturesdialog.hxx
index 417b4c6ea8d4..41cc458a7380 100644
--- a/xmlsecurity/inc/digitalsignaturesdialog.hxx
+++ b/xmlsecurity/inc/digitalsignaturesdialog.hxx
@@ -79,10 +79,10 @@ private:
VclPtr<CloseButton> m_pCloseBtn;
- OUString m_sODFVersion;
+ OUString const m_sODFVersion;
//Signals if the document contains already a document signature. This is only
//important when we are signing macros and if the value is true.
- bool m_bHasDocumentSignature;
+ bool const m_bHasDocumentSignature;
bool m_bWarningShowSignMacro;
bool m_bAdESCompliant;
diff --git a/xmlsecurity/inc/documentsignaturemanager.hxx b/xmlsecurity/inc/documentsignaturemanager.hxx
index 1b29e27c9c21..d67e08318123 100644
--- a/xmlsecurity/inc/documentsignaturemanager.hxx
+++ b/xmlsecurity/inc/documentsignaturemanager.hxx
@@ -64,7 +64,7 @@ public:
XMLSignatureHelper maSignatureHelper;
std::unique_ptr<PDFSignatureHelper> mpPDFSignatureHelper;
SignatureInformations maCurrentSignatureInformations;
- DocumentSignatureMode meSignatureMode;
+ DocumentSignatureMode const meSignatureMode;
css::uno::Sequence<css::uno::Sequence<css::beans::PropertyValue>> m_manifest;
css::uno::Reference<css::io::XStream> mxSignatureStream;
css::uno::Reference<css::io::XStream> mxTempSignatureStream;
diff --git a/xmlsecurity/inc/macrosecurity.hxx b/xmlsecurity/inc/macrosecurity.hxx
index 6a3198284368..66d473341c2c 100644
--- a/xmlsecurity/inc/macrosecurity.hxx
+++ b/xmlsecurity/inc/macrosecurity.hxx
@@ -120,8 +120,8 @@ private:
css::uno::Sequence< SvtSecurityOptions::Certificate > maTrustedAuthors;
- bool mbAuthorsReadonly;
- bool mbURLsReadonly;
+ bool mbAuthorsReadonly;
+ bool mbURLsReadonly;
DECL_LINK( ViewCertPBHdl, Button*, void );
DECL_LINK( RemoveCertPBHdl, Button*, void );