summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-09 10:09:42 +0200
committerNoel Grandin <noel@peralex.com>2014-06-09 10:10:13 +0200
commit184a00b96235f6432294ded63ce4a4a318effdb5 (patch)
treee4ae0e00cb168fa43d280cfb51a50515258b5320 /idlc
parent534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff)
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
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()
{