diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-12 08:21:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-15 14:05:41 +0000 |
commit | 6e72f0251bb8767942edf74f612547c12ca0cdf1 (patch) | |
tree | 0785de1a2f8995d1d4ede7889541bda9b59f893f /idlc | |
parent | 7da80de2c75e048a08ea6e923a9f433a638a9f12 (diff) |
new loplugin unnecessary override
Change-Id: I88d3e33823d68745b98625050a8a274f9ef04bcb
Reviewed-on: https://gerrit.libreoffice.org/27135
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/inc/astenum.hxx | 1 | ||||
-rw-r--r-- | idlc/inc/astoperation.hxx | 2 | ||||
-rw-r--r-- | idlc/source/astenum.cxx | 5 | ||||
-rw-r--r-- | idlc/source/astoperation.cxx | 5 |
4 files changed, 0 insertions, 13 deletions
diff --git a/idlc/inc/astenum.hxx b/idlc/inc/astenum.hxx index c60ff2839bfe..d7c8977fb932 100644 --- a/idlc/inc/astenum.hxx +++ b/idlc/inc/astenum.hxx @@ -38,7 +38,6 @@ public: virtual bool dump(RegistryKey& rKey) override; - virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl) override; private: sal_Int32 m_enumValueCount; }; diff --git a/idlc/inc/astoperation.hxx b/idlc/inc/astoperation.hxx index 775c74fc0c43..5a5194f92605 100644 --- a/idlc/inc/astoperation.hxx +++ b/idlc/inc/astoperation.hxx @@ -47,8 +47,6 @@ public: bool dumpBlob(typereg::Writer & rBlob, sal_uInt16 index); - // scope management - virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl) override; private: AstType const * m_pReturnType; DeclList m_exceptions; diff --git a/idlc/source/astenum.cxx b/idlc/source/astenum.cxx index f3a20fce50b8..f006f611a8d4 100644 --- a/idlc/source/astenum.cxx +++ b/idlc/source/astenum.cxx @@ -104,9 +104,4 @@ bool AstEnum::dump(RegistryKey& rKey) return true; } -AstDeclaration* AstEnum::addDeclaration(AstDeclaration* pDecl) -{ - return AstScope::addDeclaration(pDecl); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/idlc/source/astoperation.cxx b/idlc/source/astoperation.cxx index 78c4e452a915..cd6076b1f3a8 100644 --- a/idlc/source/astoperation.cxx +++ b/idlc/source/astoperation.cxx @@ -118,9 +118,4 @@ bool AstOperation::dumpBlob(typereg::Writer & rBlob, sal_uInt16 index) return true; } -AstDeclaration* AstOperation::addDeclaration(AstDeclaration* pDecl) -{ - return AstScope::addDeclaration(pDecl); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |