diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-15 10:50:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-16 08:38:53 +0200 |
commit | 44404a0c8ae8a7a12e7d9133323d0f7e32061c03 (patch) | |
tree | 5f31b8bf8a2a4df8eacf3c1d6eccbde8460a4e00 /extensions | |
parent | c4fb1122b3b6c55d479c68c14101972254aa72a8 (diff) |
convert Link<> to typed
Change-Id: If6334d32abbec379acbb9def98fdf6cb5144238b
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/update/ui/updatecheckui.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index 9847eacf541c..b046ab66512a 100644 --- a/extensions/source/update/ui/updatecheckui.cxx +++ b/extensions/source/update/ui/updatecheckui.cxx @@ -144,7 +144,7 @@ class UpdateCheckUI : public ::cppu::WeakImplHelper private: DECL_LINK_TYPED(ClickHdl, MenuBar::MenuBarButtonCallbackArg&, bool); - DECL_LINK( HighlightHdl, MenuBar::MenuBarButtonCallbackArg* ); + DECL_LINK_TYPED(HighlightHdl, MenuBar::MenuBarButtonCallbackArg&, bool); DECL_LINK_TYPED(WaitTimeOutHdl, Idle *, void); DECL_LINK_TYPED(TimeOutHdl, Timer *, void); DECL_LINK_TYPED(UserEventHdl, void *, void); @@ -601,14 +601,14 @@ IMPL_LINK_NOARG_TYPED(UpdateCheckUI, ClickHdl, MenuBar::MenuBarButtonCallbackArg } -IMPL_LINK( UpdateCheckUI, HighlightHdl, MenuBar::MenuBarButtonCallbackArg*, pData ) +IMPL_LINK_TYPED( UpdateCheckUI, HighlightHdl, MenuBar::MenuBarButtonCallbackArg&, rData, bool ) { - if ( pData->bHighlight ) + if ( rData.bHighlight ) maWaitIdle.Start(); else RemoveBubbleWindow( false ); - return 0; + return false; } |