summaryrefslogtreecommitdiff
path: root/svx/source/dialog/svxruler.cxx
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 /svx/source/dialog/svxruler.cxx
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 'svx/source/dialog/svxruler.cxx')
-rw-r--r--svx/source/dialog/svxruler.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx
index a068ee569643..d51af7132c8e 100644
--- a/svx/source/dialog/svxruler.cxx
+++ b/svx/source/dialog/svxruler.cxx
@@ -3398,14 +3398,14 @@ void SvxRuler::Notify(SfxBroadcaster&, const SfxHint& rHint)
}
-IMPL_LINK( SvxRuler, MenuSelect, Menu *, pMenu )
+IMPL_LINK_TYPED( SvxRuler, MenuSelect, Menu *, pMenu, bool )
{
/* Handler of the context menus for switching the unit of measurement */
SetUnit(FieldUnit(pMenu->GetCurItemId()));
- return 0;
+ return false;
}
-IMPL_LINK( SvxRuler, TabMenuSelect, Menu *, pMenu )
+IMPL_LINK_TYPED( SvxRuler, TabMenuSelect, Menu *, pMenu, bool )
{
/* Handler of the tab menu for setting the type */
if(mxTabStopItem.get() && mxTabStopItem->Count() > mxRulerImpl->nIdx)
@@ -3419,7 +3419,7 @@ IMPL_LINK( SvxRuler, TabMenuSelect, Menu *, pMenu )
UpdateTabs();
mxRulerImpl->nIdx = 0;
}
- return 0;
+ return false;
}
void SvxRuler::Command( const CommandEvent& rCommandEvent )