summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2016-11-27 15:42:04 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-18 01:08:09 -0500
commit7fb8f19fb4c3236a5b9c0101a628c0b5dee99414 (patch)
tree2cb6504214975806686aca8a917e07d1130d77e3 /basic
parent9749535f3028b98d1120f2e19e2071d3a71095aa (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> (cherry picked from commit 7c0873ab969f64938258b07d9e2bf6f739818a97) (cherry picked from commit ee2bdaa80e827f107d4d7dce7a6c85a6d2ef5513)
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbxmod.cxx16
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 )
{