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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Oct 9 14:47:31 PDT 2012


 svtools/source/config/toolpanelopt.cxx |   29 -----------------------------
 unusedcode.easy                        |    2 --
 2 files changed, 31 deletions(-)

New commits:
commit ac8d3988890e0dbd19afb496033725a9878a86cc
Author: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
Date:   Sun Oct 7 21:23:27 2012 -0300

    Remove more unused methods
    
    Change-Id: I5c6bb319458b1ce60cedfe0e2b0f5eaa8ba55e9d
    Signed-off-by: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
    Reviewed-on: https://gerrit.libreoffice.org/837
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svtools/source/config/toolpanelopt.cxx b/svtools/source/config/toolpanelopt.cxx
index 2f58022..94bebef 100644
--- a/svtools/source/config/toolpanelopt.cxx
+++ b/svtools/source/config/toolpanelopt.cxx
@@ -99,8 +99,6 @@ class SvtToolPanelOptions_Impl : public ConfigItem
         bool m_bVisibleHandoutView;
         bool m_bVisibleSlideSorterView;
 
-        void AddListenerLink( const Link& rLink );
-        void RemoveListenerLink( const Link& rLink );
         void CallListeners();
 
     private:
@@ -251,23 +249,6 @@ void SvtToolPanelOptions_Impl::Load( const Sequence< OUString >& rPropertyNames
     }
 }
 
-void SvtToolPanelOptions_Impl::AddListenerLink( const Link& rLink )
-{
-    aList.push_back( rLink );
-}
-
-void SvtToolPanelOptions_Impl::RemoveListenerLink( const Link& rLink )
-{
-    for ( ::std::list<Link>::iterator iter = aList.begin(); iter != aList.end(); ++iter )
-    {
-        if ( *iter == rLink )
-        {
-            aList.erase(iter);
-            break;
-        }
-    }
-}
-
 void SvtToolPanelOptions_Impl::CallListeners()
 {
     for ( ::std::list<Link>::const_iterator iter = aList.begin(); iter != aList.end(); ++iter )
@@ -428,14 +409,4 @@ Mutex & SvtToolPanelOptions::GetInitMutex()
     return theSvtToolPanelOptionsMutex::get();
 }
 
-void SvtToolPanelOptions::AddListenerLink( const Link& rLink )
-{
-    m_pDataContainer->AddListenerLink( rLink );
-}
-
-void SvtToolPanelOptions::RemoveListenerLink( const Link& rLink )
-{
-    m_pDataContainer->RemoveListenerLink( rLink );
-}
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unusedcode.easy b/unusedcode.easy
index b836d67..91d2995 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -10,8 +10,6 @@ ScVbaFormat<ooo::vba::excel::XStyle>::setNumberFormat(com::sun::star::lang::Loca
 SvLBoxTreeList::Clone(SvListEntry*, unsigned long&) const
 SvLBoxTreeList::Prev(SvListEntry*, unsigned short*) const
 SvTreeEntryList::front()
-SvtToolPanelOptions::AddListenerLink(Link const&)
-SvtToolPanelOptions::RemoveListenerLink(Link const&)
 SvxAutoCorrect::DeleteText(String const&, unsigned short)
 TextEngine::GetLeftMargin() const
 ThumbnailView::GetItemCount() const


More information about the Libreoffice-commits mailing list