summaryrefslogtreecommitdiff
path: root/idlc/inc/fehelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-21 18:04:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-23 08:15:50 +0200
commit2559a2a0567dbc392ceb34057c0dc5078bbb9474 (patch)
tree5293bec5148067acd1c0b3261c96e7c0c993ee1b /idlc/inc/fehelper.hxx
parent87a9979c8938b800aab6e35903d60d24892e7f2e (diff)
loplugin:constmethod in cppu,cppuhelper,idlc
Change-Id: I9138b7e5d53c30488f99e9f9b9fe3f98c8d6858b Reviewed-on: https://gerrit.libreoffice.org/43583 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc/inc/fehelper.hxx')
-rw-r--r--idlc/inc/fehelper.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/idlc/inc/fehelper.hxx b/idlc/inc/fehelper.hxx
index 8ebc1c9f44ce..d66818dd22ca 100644
--- a/idlc/inc/fehelper.hxx
+++ b/idlc/inc/fehelper.hxx
@@ -29,9 +29,9 @@ class FeDeclarator final
public:
FeDeclarator(const OString& name);
~FeDeclarator();
- const OString& getName()
+ const OString& getName() const
{ return m_name; }
- bool checkType(AstDeclaration const * pType);
+ bool checkType(AstDeclaration const * pType) const;
static AstType const * compose(AstDeclaration const * pDecl);
private:
OString m_name;
@@ -52,7 +52,7 @@ public:
delete m_pName;
}
- NodeType getNodeType()
+ NodeType getNodeType() const
{ return m_nodeType; }
OString* getName()
{ return m_pName; }