summaryrefslogtreecommitdiff
path: root/cui/source/options/opthtml.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/opthtml.cxx')
-rw-r--r--cui/source/options/opthtml.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/options/opthtml.cxx b/cui/source/options/opthtml.cxx
index 537018c5ef4f..a54e17f63871 100644
--- a/cui/source/options/opthtml.cxx
+++ b/cui/source/options/opthtml.cxx
@@ -182,10 +182,9 @@ void OfaHtmlTabPage::Reset( const SfxItemSet* )
aCharSetLB->SelectTextEncoding( rHtmlOpt.GetTextEncoding() );
}
-IMPL_LINK(OfaHtmlTabPage, CheckBoxHdl_Impl, CheckBox*, pBox)
+IMPL_LINK_TYPED(OfaHtmlTabPage, CheckBoxHdl_Impl, Button*, pBox, void)
{
- aStarBasicWarningCB->Enable(!pBox->IsChecked());
- return 0;
+ aStarBasicWarningCB->Enable(!static_cast<CheckBox*>(pBox)->IsChecked());
}