summaryrefslogtreecommitdiff
path: root/sw/source/ui/fmtui/tmpdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/fmtui/tmpdlg.cxx')
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx
index 3fca711707d6..8003ed5f907d 100644
--- a/sw/source/ui/fmtui/tmpdlg.cxx
+++ b/sw/source/ui/fmtui/tmpdlg.cxx
@@ -293,24 +293,12 @@ SwTemplateDlg::SwTemplateDlg(Window* pParent,
}
EnableApplyButton( true );
- SetApplyHandler( LINK(this, SwTemplateDlg, ApplyHdl ) );
}
SwTemplateDlg::~SwTemplateDlg()
{
}
-IMPL_LINK( SwTemplateDlg, ApplyHdl, void*, pVoid )
-{
- (void)pVoid; //unused
- if ( OK_Impl() )
- {
- Ok();
- EndDialog( RET_APPLY_TEMPLATE );
- }
- return 0;
-}
-
short SwTemplateDlg::Ok()
{
short nRet = SfxTabDialog::Ok();