summaryrefslogtreecommitdiff
path: root/idlc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/inc')
-rw-r--r--idlc/inc/idlc/astdeclaration.hxx2
-rw-r--r--idlc/inc/idlc/errorhandler.hxx2
2 files changed, 3 insertions, 1 deletions
diff --git a/idlc/inc/idlc/astdeclaration.hxx b/idlc/inc/idlc/astdeclaration.hxx
index caa35d6a1598..d7d7aec22274 100644
--- a/idlc/inc/idlc/astdeclaration.hxx
+++ b/idlc/inc/idlc/astdeclaration.hxx
@@ -75,6 +75,8 @@ public:
{ return m_fullName.getStr()+1; }
AstScope* getScope()
{ return m_pScope; }
+ const AstScope* getScope() const
+ { return m_pScope; }
void setScope(AstScope* pSc)
{ m_pScope = pSc; }
NodeType getNodeType() const
diff --git a/idlc/inc/idlc/errorhandler.hxx b/idlc/inc/idlc/errorhandler.hxx
index 9877f081221f..1e7e7285d0d8 100644
--- a/idlc/inc/idlc/errorhandler.hxx
+++ b/idlc/inc/idlc/errorhandler.hxx
@@ -118,7 +118,7 @@ public:
void flagError(ErrorCode e, sal_uInt32 flag);
- void forwardLookupError(AstDeclaration* pForward, const OString& name);
+ void forwardLookupError(const AstDeclaration* pForward, const OString& name);
void constantExpected(AstDeclaration* pDecl, const OString& name);