diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-09 23:05:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-09 23:05:23 +0100 |
commit | 2a680739f8dfe123316a69a9c85030f784ca1f22 (patch) | |
tree | 6be27dfa06837e11a398b9d674af4df3e35c0daa /svtools | |
parent | 321fec4eead0f674ca16ef55c624812d3906b355 (diff) |
AddListenerLink/RemoveListenerLink not implemented
so the underlying stuff isn't used either, i.e. aList is always empty
Change-Id: Ia273576956294f878a81c7fab17446b7f33c5fa2
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/toolpanelopt.hxx | 3 | ||||
-rw-r--r-- | svtools/source/config/toolpanelopt.cxx | 10 |
2 files changed, 0 insertions, 13 deletions
diff --git a/svtools/inc/svtools/toolpanelopt.hxx b/svtools/inc/svtools/toolpanelopt.hxx index 4c70256ae3b6..8b96e2555168 100644 --- a/svtools/inc/svtools/toolpanelopt.hxx +++ b/svtools/inc/svtools/toolpanelopt.hxx @@ -56,9 +56,6 @@ class SVT_DLLPUBLIC SvtToolPanelOptions: public utl::detail::Options SvtToolPanelOptions(); virtual ~SvtToolPanelOptions(); - void AddListenerLink( const Link& rLink ); - void RemoveListenerLink( const Link& rLink ); - bool GetVisibleImpressView() const; void SetVisibleImpressView( bool bVisible ); bool GetVisibleOutlineView() const; diff --git a/svtools/source/config/toolpanelopt.cxx b/svtools/source/config/toolpanelopt.cxx index 94bebef6d73c..339e1556c48e 100644 --- a/svtools/source/config/toolpanelopt.cxx +++ b/svtools/source/config/toolpanelopt.cxx @@ -58,7 +58,6 @@ using namespace ::com::sun::star; class SvtToolPanelOptions_Impl : public ConfigItem { private: - ::std::list<Link> aList; Sequence< OUString > m_seqPropertyNames; public: @@ -99,8 +98,6 @@ class SvtToolPanelOptions_Impl : public ConfigItem bool m_bVisibleHandoutView; bool m_bVisibleSlideSorterView; - void CallListeners(); - private: /** return list of key names of our configuration management which represent oue module tree @@ -249,16 +246,9 @@ void SvtToolPanelOptions_Impl::Load( const Sequence< OUString >& rPropertyNames } } -void SvtToolPanelOptions_Impl::CallListeners() -{ - for ( ::std::list<Link>::const_iterator iter = aList.begin(); iter != aList.end(); ++iter ) - iter->Call( this ); -} - void SvtToolPanelOptions_Impl::Notify( const Sequence< OUString >& rPropertyNames ) { Load( rPropertyNames ); - CallListeners(); } void SvtToolPanelOptions_Impl::Commit() |