summaryrefslogtreecommitdiff
path: root/cui/source/options/fontsubs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/fontsubs.cxx')
-rw-r--r--cui/source/options/fontsubs.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx
index 3d5c9f978c3d..1967ab3ed09c 100644
--- a/cui/source/options/fontsubs.cxx
+++ b/cui/source/options/fontsubs.cxx
@@ -91,7 +91,7 @@ SvxFontSubstTabPage::SvxFontSubstTabPage( vcl::Window* pParent,
Link<> aLink(LINK(this, SvxFontSubstTabPage, SelectHdl));
Link<Button*,void> aClickLink(LINK(this, SvxFontSubstTabPage, ClickHdl));
- m_pCheckLB->SetSelectHdl(aLink);
+ m_pCheckLB->SetSelectHdl(LINK(this, SvxFontSubstTabPage, TreeListBoxSelectHdl));
m_pUseTableCB->SetClickHdl(aClickLink);
m_pFont1CB->SetSelectHdl(aLink);
m_pFont1CB->SetModifyHdl(aLink);
@@ -261,7 +261,10 @@ IMPL_LINK_TYPED(SvxFontSubstTabPage, ClickHdl, Button*, pButton, void)
{
SelectHdl(pButton);
}
-
+IMPL_LINK_TYPED(SvxFontSubstTabPage, TreeListBoxSelectHdl, SvTreeListBox*, pButton, void)
+{
+ SelectHdl(pButton);
+}
IMPL_LINK(SvxFontSubstTabPage, SelectHdl, vcl::Window*, pWin)
{
if (pWin == m_pApply || pWin == m_pDelete)