From 184a00b96235f6432294ded63ce4a4a318effdb5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 9 Jun 2014 10:09:42 +0200 Subject: loplugin: inlinesimplememberfunctions Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b --- idlc/inc/idlc/aststack.hxx | 2 +- idlc/source/aststack.cxx | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'idlc') 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() { -- cgit v1.2.3