[Libreoffice-commits] core.git: basic/source
Arnaud Versini
arnaud.versini at gmail.com
Mon Nov 28 07:10:18 UTC 2016
basic/source/classes/sbxmod.cxx | 16 ----------------
1 file changed, 16 deletions(-)
New commits:
commit 7c0873ab969f64938258b07d9e2bf6f739818a97
Author: Arnaud Versini <arnaud.versini at gmail.com>
Date: Sun Nov 27 15:42:04 2016 +0100
BASIC: useless override DocObjectWrapper::acquire and release
Change-Id: Ia8fcb1c5935374376b727075c9bdcbd6a96b3c70
Reviewed-on: https://gerrit.libreoffice.org/31264
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 8b5b97e..eaeeb96 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 )
{
More information about the Libreoffice-commits
mailing list