summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-24 14:07:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-25 10:56:03 +0200
commit83fd71e041f2c0520c4cc213e238c7f3c674c5a3 (patch)
tree5812c9db1d74548128c27bf2c1c44ec7aa5a79f2 /l10ntools
parente46d27a692f43192ba29f03c473f43bb16c1444f (diff)
loplugin:constmethod in tools,sax,UnoControls
Change-Id: Ie05e44e2a4019e2549843961ebfa04fef7b7aeb4 Reviewed-on: https://gerrit.libreoffice.org/43767 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/inc/cfgmerge.hxx4
-rw-r--r--l10ntools/inc/xrmmerge.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/l10ntools/inc/cfgmerge.hxx b/l10ntools/inc/cfgmerge.hxx
index c3eb1cd1cf02..d2ec28475d39 100644
--- a/l10ntools/inc/cfgmerge.hxx
+++ b/l10ntools/inc/cfgmerge.hxx
@@ -54,8 +54,8 @@ public:
: sTagType( rTag ), sIdentifier( rId )
{}
- const OString &GetTagType() { return sTagType; }
- const OString &GetIdentifier() { return sIdentifier; }
+ const OString &GetTagType() const { return sTagType; }
+ const OString &GetIdentifier() const { return sIdentifier; }
};
diff --git a/l10ntools/inc/xrmmerge.hxx b/l10ntools/inc/xrmmerge.hxx
index e599a59fcbe2..0000265cac35 100644
--- a/l10ntools/inc/xrmmerge.hxx
+++ b/l10ntools/inc/xrmmerge.hxx
@@ -56,7 +56,7 @@ protected:
const OString &rCloseTag
)=0;
- const OString& GetGID() { return sGID; }
+ const OString& GetGID() const { return sGID; }
public:
XRMResParser();
@@ -65,7 +65,7 @@ public:
void Execute( int nToken, char * pToken );
void SetError() { bError = true; }
- bool GetError() { return bError; }
+ bool GetError() const { return bError; }
};