diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2016-11-27 15:42:04 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-28 07:09:52 +0000 |
commit | 7c0873ab969f64938258b07d9e2bf6f739818a97 (patch) | |
tree | d80fddfb9feccbc708d13e8313c054ae611e088f /basic/source/classes | |
parent | ae95f8b7b1b75d0e367db643ad82821ee371a84a (diff) |
BASIC: useless override DocObjectWrapper::acquire and release
Change-Id: Ia8fcb1c5935374376b727075c9bdcbd6a96b3c70
Reviewed-on: https://gerrit.libreoffice.org/31264
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/classes')
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 8b5b97ec3cc8..eaeeb9668fcf 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -100,9 +100,6 @@ class DocObjectWrapper : public DocObjectWrapper_BASE public: explicit DocObjectWrapper( SbModule* pMod ); - virtual void SAL_CALL acquire() throw() override; - virtual void SAL_CALL release() throw() override; - virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (RuntimeException, std::exception) override { return css::uno::Sequence<sal_Int8>(); @@ -171,19 +168,6 @@ DocObjectWrapper::DocObjectWrapper( SbModule* pVar ) : m_pMod( pVar ), mName( pV } } -void SAL_CALL -DocObjectWrapper::acquire() throw () -{ - OWeakObject::acquire(); - SAL_INFO("basic","DocObjectWrapper::acquire("<< OUStringToOString( mName, RTL_TEXTENCODING_UTF8 ).getStr() << ") 0x" << this << " refcount is now " << m_refCount ); -} -void SAL_CALL -DocObjectWrapper::release() throw () -{ - SAL_INFO("basic","DocObjectWrapper::release("<< OUStringToOString( mName, RTL_TEXTENCODING_UTF8 ).getStr() << ") 0x" << this << " decrementing refcount, was " << m_refCount ); - OWeakObject::release(); -} - Sequence< Type > SAL_CALL DocObjectWrapper::getTypes() throw ( RuntimeException, std::exception ) { |