diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/dialog/ascfldlg.cxx | 5 | ||||
-rw-r--r-- | sw/source/uibase/inc/ascfldlg.hxx | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/ui/dialog/ascfldlg.cxx b/sw/source/ui/dialog/ascfldlg.cxx index 85e040ccb3c8..c9f5f314f11e 100644 --- a/sw/source/ui/dialog/ascfldlg.cxx +++ b/sw/source/ui/dialog/ascfldlg.cxx @@ -394,11 +394,10 @@ IMPL_LINK( SwAsciiFilterDlg, CharSetSelHdl, SvxTextEncodingBox*, pBox ) return 0; } -IMPL_LINK( SwAsciiFilterDlg, LineEndHdl, RadioButton*, pBtn ) +IMPL_LINK_TYPED( SwAsciiFilterDlg, LineEndHdl, RadioButton&, rBtn, void ) { if( m_bSaveLineStatus ) - pBtn->SaveValue(); - return 0; + rBtn.SaveValue(); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/uibase/inc/ascfldlg.hxx b/sw/source/uibase/inc/ascfldlg.hxx index b7e693814c3c..bd2b822b59c7 100644 --- a/sw/source/uibase/inc/ascfldlg.hxx +++ b/sw/source/uibase/inc/ascfldlg.hxx @@ -43,7 +43,7 @@ class SwAsciiFilterDlg : public SfxModalDialog bool m_bSaveLineStatus; DECL_LINK( CharSetSelHdl, SvxTextEncodingBox* ); - DECL_LINK( LineEndHdl, RadioButton* ); + DECL_LINK_TYPED( LineEndHdl, RadioButton&, void ); void SetCRLF( LineEnd eEnd ); LineEnd GetCRLF() const; |