unusedcode: SvtSlideSorterBarOptions::*ListenerLink
Change-Id: I7e396b9ed7f3d64c0b085448fdea562e3d740084
This commit is contained in:
@@ -34,7 +34,6 @@
|
|||||||
is faster and smaller then a complete implementation!
|
is faster and smaller then a complete implementation!
|
||||||
*/
|
*/
|
||||||
class SvtSlideSorterBarOptions_Impl;
|
class SvtSlideSorterBarOptions_Impl;
|
||||||
class Link;
|
|
||||||
|
|
||||||
/** collect informations about sidebar group
|
/** collect informations about sidebar group
|
||||||
|
|
||||||
@@ -56,9 +55,6 @@ class SVT_DLLPUBLIC SvtSlideSorterBarOptions: public utl::detail::Options
|
|||||||
SvtSlideSorterBarOptions();
|
SvtSlideSorterBarOptions();
|
||||||
virtual ~SvtSlideSorterBarOptions();
|
virtual ~SvtSlideSorterBarOptions();
|
||||||
|
|
||||||
void AddListenerLink( const Link& rLink );
|
|
||||||
void RemoveListenerLink( const Link& rLink );
|
|
||||||
|
|
||||||
bool GetVisibleImpressView() const;
|
bool GetVisibleImpressView() const;
|
||||||
void SetVisibleImpressView( bool bVisible );
|
void SetVisibleImpressView( bool bVisible );
|
||||||
bool GetVisibleOutlineView() const;
|
bool GetVisibleOutlineView() const;
|
||||||
|
@@ -23,16 +23,9 @@
|
|||||||
#include <tools/debug.hxx>
|
#include <tools/debug.hxx>
|
||||||
#include <com/sun/star/uno/Any.hxx>
|
#include <com/sun/star/uno/Any.hxx>
|
||||||
#include <com/sun/star/uno/Sequence.hxx>
|
#include <com/sun/star/uno/Sequence.hxx>
|
||||||
#include <tools/link.hxx>
|
|
||||||
|
|
||||||
#include <rtl/logfile.hxx>
|
#include <rtl/logfile.hxx>
|
||||||
#include <rtl/instance.hxx>
|
#include <rtl/instance.hxx>
|
||||||
#include "itemholder2.hxx"
|
|
||||||
|
|
||||||
#include <svtools/imgdef.hxx>
|
|
||||||
#include <vcl/svapp.hxx>
|
|
||||||
|
|
||||||
#include <list>
|
|
||||||
|
|
||||||
using namespace ::utl;
|
using namespace ::utl;
|
||||||
using namespace ::rtl;
|
using namespace ::rtl;
|
||||||
@@ -59,8 +52,6 @@ using namespace ::com::sun::star;
|
|||||||
|
|
||||||
class SvtSlideSorterBarOptions_Impl : public ConfigItem
|
class SvtSlideSorterBarOptions_Impl : public ConfigItem
|
||||||
{
|
{
|
||||||
private:
|
|
||||||
::std::list<Link> aList;
|
|
||||||
Sequence< OUString > m_seqPropertyNames;
|
Sequence< OUString > m_seqPropertyNames;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -102,10 +93,6 @@ class SvtSlideSorterBarOptions_Impl : public ConfigItem
|
|||||||
bool m_bVisibleSlideSorterView;
|
bool m_bVisibleSlideSorterView;
|
||||||
bool m_bVisibleDrawView;
|
bool m_bVisibleDrawView;
|
||||||
|
|
||||||
void AddListenerLink( const Link& rLink );
|
|
||||||
void RemoveListenerLink( const Link& rLink );
|
|
||||||
void CallListeners();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/** return list of key names of our configuration management which represent oue module tree
|
/** return list of key names of our configuration management which represent oue module tree
|
||||||
|
|
||||||
@@ -268,33 +255,9 @@ void SvtSlideSorterBarOptions_Impl::Load( const Sequence< OUString >& rPropertyN
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SvtSlideSorterBarOptions_Impl::AddListenerLink( const Link& rLink )
|
|
||||||
{
|
|
||||||
aList.push_back( rLink );
|
|
||||||
}
|
|
||||||
|
|
||||||
void SvtSlideSorterBarOptions_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 SvtSlideSorterBarOptions_Impl::CallListeners()
|
|
||||||
{
|
|
||||||
for ( ::std::list<Link>::const_iterator iter = aList.begin(); iter != aList.end(); ++iter )
|
|
||||||
iter->Call( this );
|
|
||||||
}
|
|
||||||
|
|
||||||
void SvtSlideSorterBarOptions_Impl::Notify( const Sequence< OUString >& rPropertyNames )
|
void SvtSlideSorterBarOptions_Impl::Notify( const Sequence< OUString >& rPropertyNames )
|
||||||
{
|
{
|
||||||
Load( rPropertyNames );
|
Load( rPropertyNames );
|
||||||
CallListeners();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SvtSlideSorterBarOptions_Impl::Commit()
|
void SvtSlideSorterBarOptions_Impl::Commit()
|
||||||
@@ -462,14 +425,4 @@ Mutex & SvtSlideSorterBarOptions::GetInitMutex()
|
|||||||
return theSvtSlideSorterBarOptionsMutex::get();
|
return theSvtSlideSorterBarOptionsMutex::get();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SvtSlideSorterBarOptions::AddListenerLink( const Link& rLink )
|
|
||||||
{
|
|
||||||
m_pDataContainer->AddListenerLink( rLink );
|
|
||||||
}
|
|
||||||
|
|
||||||
void SvtSlideSorterBarOptions::RemoveListenerLink( const Link& rLink )
|
|
||||||
{
|
|
||||||
m_pDataContainer->RemoveListenerLink( rLink );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@@ -6,8 +6,6 @@ ScVbaFormat<ooo::vba::excel::XRange>::setNumberFormat(com::sun::star::lang::Loca
|
|||||||
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
|
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
|
||||||
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
|
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
|
||||||
ScVbaFormat<ooo::vba::excel::XStyle>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&)
|
ScVbaFormat<ooo::vba::excel::XStyle>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&)
|
||||||
SvtSlideSorterBarOptions::AddListenerLink(Link const&)
|
|
||||||
SvtSlideSorterBarOptions::RemoveListenerLink(Link const&)
|
|
||||||
SvtUserOptions::SetCompany(rtl::OUString const&)
|
SvtUserOptions::SetCompany(rtl::OUString const&)
|
||||||
SvtUserOptions::SetCountry(rtl::OUString const&)
|
SvtUserOptions::SetCountry(rtl::OUString const&)
|
||||||
SvtUserOptions::SetFax(rtl::OUString const&)
|
SvtUserOptions::SetFax(rtl::OUString const&)
|
||||||
|
Reference in New Issue
Block a user