diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-16 14:28:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-17 08:19:33 +0200 |
commit | f0c658e49eb907a15c17f2a8ae2f42dd2e550a77 (patch) | |
tree | 00fdf8554f80ccef028b6c9fcfc3fff3c0c6477a /cui | |
parent | 036ee34543748633c2c9758f78a8ac746a10d97e (diff) |
convert Link<> to typed
Change-Id: I8ffca89e5b1b495452efebf8f57d04ada1bfdf1c
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/inc/border.hxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/border.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/inc/border.hxx b/cui/source/inc/border.hxx index f6d8abe305a8..3192d51df651 100644 --- a/cui/source/inc/border.hxx +++ b/cui/source/inc/border.hxx @@ -121,7 +121,7 @@ private: DECL_LINK( SelColHdl_Impl, ListBox* ); DECL_LINK_TYPED( SelPreHdl_Impl, ValueSet*, void ); DECL_LINK_TYPED( SelSdwHdl_Impl, ValueSet*, void ); - DECL_LINK( LinesChanged_Impl, void* ); + DECL_LINK_TYPED( LinesChanged_Impl, LinkParamNone*, void ); DECL_LINK( ModifyDistanceHdl_Impl, MetricField*); DECL_LINK( ModifyWidthHdl_Impl, void*); DECL_LINK_TYPED( SyncHdl_Impl, Button*, void); diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx index b79bdacf0599..fb22d0ade3cd 100644 --- a/cui/source/tabpages/border.cxx +++ b/cui/source/tabpages/border.cxx @@ -1106,7 +1106,7 @@ void SvxBorderTabPage::FillLineListBox_Impl() } -IMPL_LINK_NOARG(SvxBorderTabPage, LinesChanged_Impl) +IMPL_LINK_NOARG_TYPED(SvxBorderTabPage, LinesChanged_Impl, LinkParamNone*, void) { if(!mbUseMarginItem && m_pLeftMF->IsVisible()) { @@ -1179,7 +1179,6 @@ IMPL_LINK_NOARG(SvxBorderTabPage, LinesChanged_Impl) m_pSynchronizeCB->Enable( m_pRightMF->IsEnabled() || m_pTopMF->IsEnabled() || m_pBottomMF->IsEnabled() || m_pLeftMF->IsEnabled() ); } - return 0; } |