summaryrefslogtreecommitdiffstats
path: root/cui/source/options/optgdlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-11 13:27:40 +0200
committerNoel Grandin <noel@peralex.com>2015-09-14 10:00:44 +0200
commit2a4ccc0c1e836fb7cde991c1233ca5a63599ec8b (patch)
tree74fee8c81b010cfef46fab0b96e5eb984726d25a /cui/source/options/optgdlg.cxx
parentImplCallEventListeners and FireVclEvent can take references (diff)
downloadcore-2a4ccc0c1e836fb7cde991c1233ca5a63599ec8b.tar.gz
core-2a4ccc0c1e836fb7cde991c1233ca5a63599ec8b.zip
convert Link<> to typed
Change-Id: I1c501671d72edd5b998e80c7fa1e91dbeb507af8
Diffstat (limited to 'cui/source/options/optgdlg.cxx')
-rw-r--r--cui/source/options/optgdlg.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 7f84f2c0bb3f..2feda57c3cbb 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -711,14 +711,12 @@ void OfaViewTabPage::dispose()
}
#if defined( UNX )
-IMPL_LINK_NOARG( OfaViewTabPage, OnAntialiasingToggled )
+IMPL_LINK_NOARG_TYPED( OfaViewTabPage, OnAntialiasingToggled, CheckBox&, void )
{
bool bAAEnabled = m_pFontAntiAliasing->IsChecked();
m_pAAPointLimitLabel->Enable( bAAEnabled );
m_pAAPointLimit->Enable( bAAEnabled );
-
- return 0L;
}
#endif
@@ -972,7 +970,7 @@ void OfaViewTabPage::Reset( const SfxItemSet* )
m_pFontShowCB->SaveValue();
#if defined( UNX )
- LINK( this, OfaViewTabPage, OnAntialiasingToggled ).Call( NULL );
+ LINK( this, OfaViewTabPage, OnAntialiasingToggled ).Call( *m_pFontAntiAliasing );
#endif
}