diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2012-10-07 21:23:27 -0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-09 21:47:10 +0000 |
commit | ac8d3988890e0dbd19afb496033725a9878a86cc (patch) | |
tree | f956fc8ab43c623f8773f6e8be1f823744cc21b7 /svtools | |
parent | Kill use of macro LINGU_EXCEPTIONS (diff) | |
download | core-ac8d3988890e0dbd19afb496033725a9878a86cc.tar.gz core-ac8d3988890e0dbd19afb496033725a9878a86cc.zip |
Remove more unused methods
Change-Id: I5c6bb319458b1ce60cedfe0e2b0f5eaa8ba55e9d
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/837
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/config/toolpanelopt.cxx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/svtools/source/config/toolpanelopt.cxx b/svtools/source/config/toolpanelopt.cxx index 2f580222fd95..94bebef6d73c 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: */ |