Kaydet (Commit) dccd68ad authored tarafından Noel Grandin's avatar Noel Grandin

remove unused Link<>

Change-Id: I7749d0d7d7dc27395373ed4a81e8235b9317d284
üst d3a2c0f6
...@@ -39,7 +39,6 @@ class SVT_DLLPUBLIC SvxHtmlOptions : public utl::ConfigItem ...@@ -39,7 +39,6 @@ class SVT_DLLPUBLIC SvxHtmlOptions : public utl::ConfigItem
HtmlOptions_Impl*pImp; HtmlOptions_Impl*pImp;
static const com::sun::star::uno::Sequence<OUString>& GetPropertyNames(); static const com::sun::star::uno::Sequence<OUString>& GetPropertyNames();
void Load( const com::sun::star::uno::Sequence< OUString >& rPropertyNames ); void Load( const com::sun::star::uno::Sequence< OUString >& rPropertyNames );
void CallListeners();
virtual void ImplCommit() SAL_OVERRIDE; virtual void ImplCommit() SAL_OVERRIDE;
......
...@@ -45,7 +45,6 @@ using namespace com::sun::star::uno; ...@@ -45,7 +45,6 @@ using namespace com::sun::star::uno;
struct HtmlOptions_Impl struct HtmlOptions_Impl
{ {
::std::list<Link<>> aList;
sal_Int32 nFlags; sal_Int32 nFlags;
sal_Int32 nExportMode; sal_Int32 nExportMode;
sal_Int32 aFontSizeArr[HTML_FONT_COUNT]; sal_Int32 aFontSizeArr[HTML_FONT_COUNT];
...@@ -242,17 +241,9 @@ void SvxHtmlOptions::ImplCommit() ...@@ -242,17 +241,9 @@ void SvxHtmlOptions::ImplCommit()
PutProperties(aNames, aValues); PutProperties(aNames, aValues);
} }
void SvxHtmlOptions::CallListeners()
{
for ( ::std::list<Link<>>::const_iterator iter = pImp->aList.begin(); iter != pImp->aList.end(); ++iter )
iter->Call( this );
}
void SvxHtmlOptions::Notify( const com::sun::star::uno::Sequence< OUString >& ) void SvxHtmlOptions::Notify( const com::sun::star::uno::Sequence< OUString >& )
{ {
Load( GetPropertyNames() ); Load( GetPropertyNames() );
CallListeners();
} }
...@@ -311,7 +302,6 @@ void SvxHtmlOptions::SetExportMode(sal_uInt16 nSet) ...@@ -311,7 +302,6 @@ void SvxHtmlOptions::SetExportMode(sal_uInt16 nSet)
{ {
pImp->nExportMode = nSet; pImp->nExportMode = nSet;
SetModified(); SetModified();
CallListeners();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment