diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-13 09:33:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-13 10:49:57 +0200 |
commit | 200e336d1d5c036b5ecd308d93e4131274b1efb8 (patch) | |
tree | cd81d3e0a7e0d68a9ebcd90c346594aab8a89fc8 /cui | |
parent | 63e1890675ecaaf50d855a1daf85fc41798bb898 (diff) |
make Link<> instances typed
Change-Id: I7d20875cc498d54140cfe75b21373fdab9c369ce
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/inc/numfmt.hxx | 4 | ||||
-rw-r--r-- | cui/source/tabpages/numfmt.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx index 0c3e21295c41..b27347651f68 100644 --- a/cui/source/inc/numfmt.hxx +++ b/cui/source/inc/numfmt.hxx @@ -86,7 +86,7 @@ public: void SetNumberFormatList( const SvxNumberInfoItem& rItem ) { SetInfoItem( rItem ); } - void SetOkHdl( const Link<>& rOkHandler ); + void SetOkHdl( const Link<SfxPoolItem*,void>& rOkHandler ); void HideLanguage(bool nFlag=true); virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; virtual void PageCreated(const SfxAllItemSet& aSet) SAL_OVERRIDE; @@ -124,7 +124,7 @@ private: SvxNumberInfoItem* pNumItem; SvxNumberFormatShell* pNumFmtShell; sal_uLong nInitFormat; - Link<> fnOkHdl; + Link<SfxPoolItem*,void> fnOkHdl; bool bNumItemFlag; ///< for handling with DocShell bool bOneAreaFlag; diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx index 6883044bb8e6..de90abbc676e 100644 --- a/cui/source/tabpages/numfmt.cxx +++ b/cui/source/tabpages/numfmt.cxx @@ -1724,7 +1724,7 @@ bool SvxNumberFormatTabPage::PreNotify( NotifyEvent& rNEvt ) #* #************************************************************************/ -void SvxNumberFormatTabPage::SetOkHdl( const Link<>& rOkHandler ) +void SvxNumberFormatTabPage::SetOkHdl( const Link<SfxPoolItem*,void>& rOkHandler ) { fnOkHdl = rOkHandler; } |