summaryrefslogtreecommitdiff
path: root/idlc/inc/astscope.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/astscope.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/astscope.hxx')
-rw-r--r--idlc/inc/astscope.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/idlc/inc/astscope.hxx b/idlc/inc/astscope.hxx
index 3ce546a087ac..30a0f837c0dc 100644
--- a/idlc/inc/astscope.hxx
+++ b/idlc/inc/astscope.hxx
@@ -42,7 +42,7 @@ public:
{ return m_declarations.begin(); }
DeclList::const_iterator getIteratorEnd() const
{ return m_declarations.end(); }
- sal_uInt16 getNodeCount(NodeType nType);
+ sal_uInt16 getNodeCount(NodeType nType) const;
// Name look up mechanism
AstDeclaration* lookupByName(const OString& scopedName);
@@ -54,7 +54,7 @@ public:
// Look up a predefined type by its ExprType
AstDeclaration* lookupPrimitiveType(ExprType type);
- AstDeclaration* lookupForAdd(AstDeclaration const * pDecl);
+ AstDeclaration* lookupForAdd(AstDeclaration const * pDecl) const;
protected:
AstDeclaration const * getLast() const