diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-10 14:39:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-11 08:48:54 +0200 |
commit | cf0c04a428754dfd5aa477cebc5441bc74e27005 (patch) | |
tree | 6d4657ec370a3378887745b34d217a91bdab2eef /cui/source/customize/selector.cxx | |
parent | e8ee8473361f09034fdcd4f30a2325a53a512a7a (diff) |
convert Link<> to typed
Change-Id: I85658fa35b9b85106a3b9c8ef303584cad6f39b0
Diffstat (limited to 'cui/source/customize/selector.cxx')
-rw-r--r-- | cui/source/customize/selector.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx index 0a4c29b944bf..ee5ba51944ca 100644 --- a/cui/source/customize/selector.cxx +++ b/cui/source/customize/selector.cxx @@ -949,12 +949,11 @@ IMPL_LINK_TYPED( SvxScriptSelectorDialog, SelectHdl, SvTreeListBox*, pCtrl, void UpdateUI(); } -IMPL_LINK( SvxScriptSelectorDialog, FunctionDoubleClickHdl, Control*, pCtrl ) +IMPL_LINK_NOARG_TYPED( SvxScriptSelectorDialog, FunctionDoubleClickHdl, SvTreeListBox*, bool ) { - (void)pCtrl; if (m_pOKButton->IsEnabled()) ClickHdl(m_pOKButton); - return 0; + return false; } // Check if command is selected and enable the OK button accordingly |