summaryrefslogtreecommitdiffstats
path: root/cui/source/options/optasian.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/optasian.cxx')
-rw-r--r--cui/source/options/optasian.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx
index 31d4b4308659..9f2ac0421969 100644
--- a/cui/source/options/optasian.cxx
+++ b/cui/source/options/optasian.cxx
@@ -378,16 +378,15 @@ IMPL_LINK_NOARG(SvxAsianLayoutPage, LanguageHdl)
return 0;
}
-IMPL_LINK(SvxAsianLayoutPage, ChangeStandardHdl, CheckBox*, pBox)
+IMPL_LINK_TYPED(SvxAsianLayoutPage, ChangeStandardHdl, Button*, pBox, void)
{
- bool bCheck = pBox->IsChecked();
+ bool bCheck = static_cast<CheckBox*>(pBox)->IsChecked();
m_pStartED->Enable(!bCheck);
m_pEndED->Enable(!bCheck);
m_pStartFT->Enable(!bCheck);
m_pEndFT->Enable(!bCheck);
ModifyHdl(m_pStartED);
- return 0;
}
IMPL_LINK(SvxAsianLayoutPage, ModifyHdl, Edit*, pEdit)