AddListenerLink/RemoveListenerLink not implemented

so the underlying stuff isn't used either, i.e. aList is always empty

Change-Id: Ia273576956294f878a81c7fab17446b7f33c5fa2
This commit is contained in:
Caolán McNamara
2012-10-09 23:05:23 +01:00
parent 321fec4eea
commit 2a680739f8
2 changed files with 0 additions and 13 deletions
-3
View File
@@ -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;
-10
View File
@@ -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()