summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/framework
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/source/framework
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/source/framework')
-rw-r--r--xmlsecurity/source/framework/elementcollector.hxx4
-rw-r--r--xmlsecurity/source/framework/elementmark.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/source/framework/elementcollector.hxx b/xmlsecurity/source/framework/elementcollector.hxx
index fc07fbcb6d43..80e021a09e75 100644
--- a/xmlsecurity/source/framework/elementcollector.hxx
+++ b/xmlsecurity/source/framework/elementcollector.hxx
@@ -44,13 +44,13 @@ private:
* BEFOREMODIFY - this ElementCollector must notify before any
* internal modification happens.
*/
- css::xml::crypto::sax::ElementMarkPriority m_nPriority;
+ css::xml::crypto::sax::ElementMarkPriority const m_nPriority;
/*
* the modify flag, representing whether which elementcollector will
* modify its data.
*/
- bool m_bToModify;
+ bool const m_bToModify;
/* the notify enable flag, see notifyListener method */
bool m_bAbleToNotify;
diff --git a/xmlsecurity/source/framework/elementmark.hxx b/xmlsecurity/source/framework/elementmark.hxx
index 1ecb51ecc817..2e7527d80d3a 100644
--- a/xmlsecurity/source/framework/elementmark.hxx
+++ b/xmlsecurity/source/framework/elementmark.hxx
@@ -44,7 +44,7 @@ protected:
sal_Int32 m_nSecurityId;
/* the buffer Id */
- sal_Int32 m_nBufferId;
+ sal_Int32 const m_nBufferId;
/*
* the type value, is one of following values: