[Libreoffice-commits] .: framework/source unusedcode.easy

Caolán McNamara caolan at kemper.freedesktop.org
Thu Feb 23 05:42:52 PST 2012


 framework/source/helper/uiconfigelementwrapperbase.cxx |    7 -------
 framework/source/helper/uielementwrapperbase.cxx       |    7 -------
 unusedcode.easy                                        |    2 --
 3 files changed, 16 deletions(-)

New commits:
commit 84cc2688f429ef915810a3799f46ae98293096a6
Author: Santiago Martinez <smvarela at gmail.com>
Date:   Wed Feb 22 22:04:12 2012 +0100

    Remove unused code as listed in unusedcode.easy

diff --git a/framework/source/helper/uiconfigelementwrapperbase.cxx b/framework/source/helper/uiconfigelementwrapperbase.cxx
index 5e04b93..5c28d26 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 8604e0e..d069f47 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 );
diff --git a/unusedcode.easy b/unusedcode.easy
index 3869a88..80d6eb1 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1063,8 +1063,6 @@ formula::EditBox::EditBox(Window*, long)
 formula::FormulaListBox::FormulaListBox(Window*, long)
 formula::FormulaTokenIterator::First()
 framework::TabWindow::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
-framework::UIConfigElementWrapperBase::dispose()
-framework::UIElementWrapperBase::dispose()
 jfw_plugin::VendorBase::createInstance()
 jfw_plugin::VendorBase::getJavaExePaths(int*)
 jvmaccess::ClassPath::doLoadClass(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, void*, rtl::OUString const&, rtl::OUString const&)


More information about the Libreoffice-commits mailing list