diff options
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/ui/dlg/funcpage.cxx | 3 | ||||
-rw-r--r-- | formula/source/ui/dlg/funcpage.hxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/formula/source/ui/dlg/funcpage.cxx b/formula/source/ui/dlg/funcpage.cxx index dbcf06c6ca5e..045eef2e78b0 100644 --- a/formula/source/ui/dlg/funcpage.cxx +++ b/formula/source/ui/dlg/funcpage.cxx @@ -180,10 +180,9 @@ IMPL_LINK( FuncPage, SelHdl, ListBox*, pLb ) return 0; } -IMPL_LINK_NOARG(FuncPage, DblClkHdl) +IMPL_LINK_NOARG_TYPED(FuncPage, DblClkHdl, ListBox&, void) { aDoubleClickLink.Call(this); - return 0; } void FuncPage::SetCategory(sal_Int32 nCat) diff --git a/formula/source/ui/dlg/funcpage.hxx b/formula/source/ui/dlg/funcpage.hxx index 6d76f546aa4b..0f85df095923 100644 --- a/formula/source/ui/dlg/funcpage.hxx +++ b/formula/source/ui/dlg/funcpage.hxx @@ -75,7 +75,7 @@ private: void impl_addFunctions(const IFunctionCategory* _pCategory); DECL_LINK( SelHdl, ListBox* ); - DECL_LINK(DblClkHdl, void *); + DECL_LINK_TYPED(DblClkHdl, ListBox&, void); protected: |