summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/loadlisteneradapter.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-24 10:49:28 +0200
committerNoel Grandin <noel@peralex.com>2015-03-24 10:51:22 +0200
commit858e455634ebfff8ef7b65a9c97d3bc8240cd094 (patch)
tree688dd5dbe73ee53ef4b84124632e045045b404d1 /extensions/source/bibliography/loadlisteneradapter.cxx
parenta6df3c0babf409d8fc0bf52efd9c2fa74a95998e (diff)
loplugin:constantfunction: various
Change-Id: I6eddda9f4b31c7ce413c328b6a857a81bd222eed
Diffstat (limited to 'extensions/source/bibliography/loadlisteneradapter.cxx')
-rw-r--r--extensions/source/bibliography/loadlisteneradapter.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/extensions/source/bibliography/loadlisteneradapter.cxx b/extensions/source/bibliography/loadlisteneradapter.cxx
index be720a080d1e..58925c5b0966 100644
--- a/extensions/source/bibliography/loadlisteneradapter.cxx
+++ b/extensions/source/bibliography/loadlisteneradapter.cxx
@@ -44,12 +44,6 @@ namespace bib
}
- void OComponentListener::_disposing( const EventObject& /*_rSource*/ ) throw( RuntimeException)
- {
- // nothing to do here, override if you're interested in
- }
-
-
void OComponentListener::setAdapter( OComponentAdapterBase* pAdapter )
{
{
@@ -124,14 +118,10 @@ namespace bib
// XEventListener
- void SAL_CALL OComponentAdapterBase::disposing( const EventObject& _rSource ) throw( RuntimeException, std::exception )
+ void SAL_CALL OComponentAdapterBase::disposing( const EventObject& ) throw( RuntimeException, std::exception )
{
if ( m_pListener )
{
- // tell the listener
- if ( !locked() )
- m_pListener->_disposing( _rSource );
-
// disconnect the listener
if ( m_pListener ) // may have been reset whilest calling into _disposing
m_pListener->setAdapter( NULL );