diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-11 13:27:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-14 10:00:44 +0200 |
commit | 2a4ccc0c1e836fb7cde991c1233ca5a63599ec8b (patch) | |
tree | 74fee8c81b010cfef46fab0b96e5eb984726d25a /cui/source/options/optgdlg.cxx | |
parent | ImplCallEventListeners and FireVclEvent can take references (diff) | |
download | core-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.cxx | 6 |
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 } |