diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-02 14:31:19 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-03 07:20:35 +0000 |
commit | 37603521c0a6a0a34174a5020a6999ffb9d041d8 (patch) | |
tree | 365d57798de925cee00608075f16e76174a4013d /reportdesign | |
parent | 5beffcf3f1fd96fb9909b93759f8537417048863 (diff) |
convert Link<> to typed
Change-Id: I8bea5ac685b0076649412bd95501461242797d77
Reviewed-on: https://gerrit.libreoffice.org/18266
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/inc/DesignView.hxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/report/DesignView.cxx | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/reportdesign/source/ui/inc/DesignView.hxx b/reportdesign/source/ui/inc/DesignView.hxx index 55e5ab2cf46f..e756f8c16648 100644 --- a/reportdesign/source/ui/inc/DesignView.hxx +++ b/reportdesign/source/ui/inc/DesignView.hxx @@ -79,7 +79,7 @@ namespace rptui DECL_LINK_TYPED(MarkTimeout, Idle *, void); - DECL_LINK( SplitHdl, void* ); + DECL_LINK_TYPED( SplitHdl, SplitWindow*, void ); void ImplInitSettings(); diff --git a/reportdesign/source/ui/report/DesignView.cxx b/reportdesign/source/ui/report/DesignView.cxx index 4a014c0c0d9d..16feb175f956 100644 --- a/reportdesign/source/ui/report/DesignView.cxx +++ b/reportdesign/source/ui/report/DesignView.cxx @@ -403,7 +403,7 @@ void ODesignView::ImplInitSettings() SetTextFillColor( Application::GetSettings().GetStyleSettings().GetFaceColor() ); } -IMPL_LINK_NOARG( ODesignView, SplitHdl ) +IMPL_LINK_NOARG_TYPED( ODesignView, SplitHdl, SplitWindow*, void ) { const Size aOutputSize = GetOutputSizePixel(); const long nTest = aOutputSize.Width() * m_aSplitWin->GetItemSize(TASKPANE_ID) / 100; @@ -417,8 +417,6 @@ IMPL_LINK_NOARG( ODesignView, SplitHdl ) (void)nOldSplitPos; getController().setSplitPos(nTest); } - - return 0L; } void ODesignView::SelectAll(const sal_uInt16 _nObjectType) |