diff options
Diffstat (limited to 'formula/source')
-rw-r--r-- | formula/source/ui/dlg/ControlHelper.hxx | 2 | ||||
-rw-r--r-- | formula/source/ui/dlg/funcutl.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/formula/source/ui/dlg/ControlHelper.hxx b/formula/source/ui/dlg/ControlHelper.hxx index 0788de46a203..e78a289b869d 100644 --- a/formula/source/ui/dlg/ControlHelper.hxx +++ b/formula/source/ui/dlg/ControlHelper.hxx @@ -34,7 +34,7 @@ private: Selection aOldSel; bool bMouseFlag; - DECL_LINK(ChangedHdl, void *); + DECL_LINK_TYPED(ChangedHdl, void *, void); protected: diff --git a/formula/source/ui/dlg/funcutl.cxx b/formula/source/ui/dlg/funcutl.cxx index 8763389da9cc..606e6f3c4c72 100644 --- a/formula/source/ui/dlg/funcutl.cxx +++ b/formula/source/ui/dlg/funcutl.cxx @@ -437,7 +437,7 @@ bool EditBox::PreNotify( NotifyEvent& rNEvt ) //When an Event cleared wurde, this routine is //first called. -IMPL_LINK_NOARG(EditBox, ChangedHdl) +IMPL_LINK_NOARG_TYPED(EditBox, ChangedHdl, void*, void) { if(pMEdit!=nullptr) { @@ -449,7 +449,6 @@ IMPL_LINK_NOARG(EditBox, ChangedHdl) aOldSel=aNewSel; } } - return 0; } void EditBox::UpdateOldSel() |