diff options
Diffstat (limited to 'cui/source/tabpages/border.cxx')
-rw-r--r-- | cui/source/tabpages/border.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx index b9cdb4517f5b..bcd3846fd139 100644 --- a/cui/source/tabpages/border.cxx +++ b/cui/source/tabpages/border.cxx @@ -1196,10 +1196,9 @@ IMPL_LINK( SvxBorderTabPage, ModifyDistanceHdl_Impl, MetricField*, pField) return 0; } -IMPL_LINK( SvxBorderTabPage, SyncHdl_Impl, CheckBox*, pBox) +IMPL_LINK_TYPED( SvxBorderTabPage, SyncHdl_Impl, Button*, pBox, void) { - mbSync = pBox->IsChecked(); - return 0; + mbSync = static_cast<CheckBox*>(pBox)->IsChecked(); } void SvxBorderTabPage::DataChanged( const DataChangedEvent& rDCEvt ) |