Kaydet (Commit) 7fb8f19f authored tarafından Arnaud Versini's avatar Arnaud Versini Kaydeden (comit) Ashod Nakashian

BASIC: useless override DocObjectWrapper::acquire and release

Change-Id: Ia8fcb1c5935374376b727075c9bdcbd6a96b3c70
Reviewed-on: https://gerrit.libreoffice.org/31264Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 7c0873ab)
(cherry picked from commit ee2bdaa8)
üst 9749535f
...@@ -100,9 +100,6 @@ class DocObjectWrapper : public DocObjectWrapper_BASE ...@@ -100,9 +100,6 @@ class DocObjectWrapper : public DocObjectWrapper_BASE
public: public:
explicit DocObjectWrapper( SbModule* pMod ); 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 virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (RuntimeException, std::exception) override
{ {
return css::uno::Sequence<sal_Int8>(); return css::uno::Sequence<sal_Int8>();
...@@ -171,19 +168,6 @@ DocObjectWrapper::DocObjectWrapper( SbModule* pVar ) : m_pMod( pVar ), mName( pV ...@@ -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() Sequence< Type > SAL_CALL DocObjectWrapper::getTypes()
throw ( RuntimeException, std::exception ) throw ( RuntimeException, std::exception )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment