summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/idlc/aststack.hxx2
-rw-r--r--idlc/source/aststack.cxx4
2 files changed, 1 insertions, 5 deletions
diff --git a/idlc/inc/idlc/aststack.hxx b/idlc/inc/idlc/aststack.hxx
index 500acc5f8f92..0a63c31e2331 100644
--- a/idlc/inc/idlc/aststack.hxx
+++ b/idlc/inc/idlc/aststack.hxx
@@ -29,7 +29,7 @@ public:
AstStack();
virtual ~AstStack();
- sal_uInt32 depth();
+ sal_uInt32 depth() { return m_top;}
AstScope* top();
AstScope* bottom();
AstScope* nextToTop();
diff --git a/idlc/source/aststack.cxx b/idlc/source/aststack.cxx
index 9f3ae824de42..402d05a0bf64 100644
--- a/idlc/source/aststack.cxx
+++ b/idlc/source/aststack.cxx
@@ -41,10 +41,6 @@ AstStack::~AstStack()
rtl_freeMemory(m_stack);
}
-sal_uInt32 AstStack::depth()
-{
- return m_top;
-}
AstScope* AstStack::top()
{