diff options
author | Santiago Martinez <smvarela@gmail.com> | 2012-02-22 22:04:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-23 13:41:59 +0000 |
commit | 84cc2688f429ef915810a3799f46ae98293096a6 (patch) | |
tree | 9eff7ff9f457d9d5a46a97a62e88edddbebfef82 /framework | |
parent | fda2c3639de6b673faf2ccd84b6d4318e592fbf0 (diff) |
Remove unused code as listed in unusedcode.easy
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/helper/uiconfigelementwrapperbase.cxx | 7 | ||||
-rw-r--r-- | framework/source/helper/uielementwrapperbase.cxx | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/framework/source/helper/uiconfigelementwrapperbase.cxx b/framework/source/helper/uiconfigelementwrapperbase.cxx index 5e04b938898b..5c28d2679ac2 100644 --- a/framework/source/helper/uiconfigelementwrapperbase.cxx +++ b/framework/source/helper/uiconfigelementwrapperbase.cxx @@ -131,13 +131,6 @@ UIConfigElementWrapperBase::~UIConfigElementWrapperBase() } // XComponent -void SAL_CALL UIConfigElementWrapperBase::dispose() throw (::com::sun::star::uno::RuntimeException) -{ - // must be implemented by derived class - ResetableGuard aLock( m_aLock ); - m_bDisposed = sal_True; -} - void SAL_CALL UIConfigElementWrapperBase::addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException) { m_aListenerContainer.addInterface( ::getCppuType( ( const css::uno::Reference< css::lang::XEventListener >* ) NULL ), xListener ); diff --git a/framework/source/helper/uielementwrapperbase.cxx b/framework/source/helper/uielementwrapperbase.cxx index 8604e0e627f4..d069f4767c0c 100644 --- a/framework/source/helper/uielementwrapperbase.cxx +++ b/framework/source/helper/uielementwrapperbase.cxx @@ -106,13 +106,6 @@ UIElementWrapperBase::~UIElementWrapperBase() { } -void SAL_CALL UIElementWrapperBase::dispose() throw (::com::sun::star::uno::RuntimeException) -{ - // must be implemented by derived class - ResetableGuard aLock( m_aLock ); - m_bDisposed = sal_True; -} - void SAL_CALL UIElementWrapperBase::addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException) { m_aListenerContainer.addInterface( ::getCppuType( ( const css::uno::Reference< css::lang::XEventListener >* ) NULL ), xListener ); |