diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-16 14:20:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-17 08:19:33 +0200 |
commit | 036ee34543748633c2c9758f78a8ac746a10d97e (patch) | |
tree | d2e6b635d09476d294c07cea5db7d6ef8e998d6a /sc | |
parent | 0ddd679dda38fbfa0773b5933e05bf1b4b73601e (diff) |
convert Link<> to typed
Change-Id: I9607eeb7ce800004bceeda25ae819cf8b5744979
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/inc/tabvwsh.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwsh4.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx index df4ba4837d4b..a560d52acbf0 100644 --- a/sc/source/ui/inc/tabvwsh.hxx +++ b/sc/source/ui/inc/tabvwsh.hxx @@ -187,7 +187,7 @@ private: DECL_LINK( SimpleRefDone, OUString* ); DECL_LINK( SimpleRefAborted, OUString* ); DECL_LINK( SimpleRefChange, OUString* ); - DECL_LINK( FormControlActivated, void* ); + DECL_LINK_TYPED( FormControlActivated, LinkParamNone*, void ); protected: virtual void Activate(bool bMDI) SAL_OVERRIDE; diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx index 8633840f517e..996f7c768f65 100644 --- a/sc/source/ui/view/tabvwsh4.cxx +++ b/sc/source/ui/view/tabvwsh4.cxx @@ -975,11 +975,10 @@ void ScTabViewShell::SetFormShellAtTop( bool bSet ) } } -IMPL_LINK_NOARG(ScTabViewShell, FormControlActivated) +IMPL_LINK_NOARG_TYPED(ScTabViewShell, FormControlActivated, LinkParamNone*, void) { // a form control got the focus, so the form shell has to be on top SetFormShellAtTop( true ); - return 0; } // GetMySubShell / SetMySubShell: altes Verhalten simulieren, |