summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-06 12:05:08 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-07 06:56:57 +0000
commit9af27324f5f5ef9bd340c6df8640b146a3eba21c (patch)
tree1bab2dbd1185adf86714718f5fb1a757c1a101e9 /starmath/inc
parent67a5fbeb8e2d6775ff6bd7bfd35ff5027d38457c (diff)
convert Link<> to typed
Change-Id: I38f2c15b4f8bb1d7187b019d26a2644b087898c1 Reviewed-on: https://gerrit.libreoffice.org/18357 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/dialog.hxx4
-rw-r--r--starmath/inc/edit.hxx2
-rw-r--r--starmath/inc/view.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx
index 70b627368501..7ac0f97ce6b0 100644
--- a/starmath/inc/dialog.hxx
+++ b/starmath/inc/dialog.hxx
@@ -159,7 +159,7 @@ class SmFontTypeDialog : public ModalDialog
VclPtr<OutputDevice> pFontListDev;
- DECL_LINK(MenuSelectHdl, Menu *);
+ DECL_LINK_TYPED(MenuSelectHdl, Menu *, bool);
DECL_LINK_TYPED(DefaultButtonClickHdl, Button *, void);
public:
@@ -223,7 +223,7 @@ class SmDistanceDialog : public ModalDialog
bool bScaleAllBrackets;
DECL_LINK(GetFocusHdl, Control *);
- DECL_LINK(MenuSelectHdl, Menu *);
+ DECL_LINK_TYPED(MenuSelectHdl, Menu *, bool);
DECL_LINK_TYPED(DefaultButtonClickHdl, Button *, void);
DECL_LINK_TYPED(CheckBoxClickHdl, Button *, void);
diff --git a/starmath/inc/edit.hxx b/starmath/inc/edit.hxx
index b69d90af9d83..b277bcdd3ba0 100644
--- a/starmath/inc/edit.hxx
+++ b/starmath/inc/edit.hxx
@@ -58,7 +58,7 @@ class SmEditWindow : public vcl::Window, public DropTargetHelper
virtual void KeyInput(const KeyEvent& rKEvt) SAL_OVERRIDE;
virtual void Command(const CommandEvent& rCEvt) SAL_OVERRIDE;
- DECL_LINK(MenuSelectHdl, Menu *);
+ DECL_LINK_TYPED(MenuSelectHdl, Menu *, bool);
DECL_LINK_TYPED(ModifyTimerHdl, Idle *, void);
DECL_LINK_TYPED(CursorMoveTimerHdl, Idle *, void);
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index 2cb968eddff7..edde0168903b 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -92,7 +92,7 @@ protected:
virtual void KeyInput(const KeyEvent& rKEvt) SAL_OVERRIDE;
virtual void Command(const CommandEvent& rCEvt) SAL_OVERRIDE;
virtual void StateChanged( StateChangedType eChanged ) SAL_OVERRIDE;
- DECL_LINK(MenuSelectHdl, Menu*);
+ DECL_LINK_TYPED(MenuSelectHdl, Menu*, bool);
private:
void RepaintViewShellDoc();