summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-27 13:08:02 +0200
committerNoel Grandin <noel@peralex.com>2015-08-28 09:49:56 +0200
commitbd8b93fdff93ff7b2b7e493a7bcef6a59f299dae (patch)
treef05be9665737f0667faf95702d96fbf3f0a103c5 /formula
parent1b9c3a17e8496aedfb80528c5275e6658154789d (diff)
make PostUserEvent Link<> typed
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/ControlHelper.hxx2
-rw-r--r--formula/source/ui/dlg/funcutl.cxx3
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()