summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-08 14:41:10 +0200
committerNoel Grandin <noel@peralex.com>2015-09-10 08:20:16 +0200
commit9c162ddbea1507193b83fea2e2310f9eda5cfdb9 (patch)
tree9e83f5260a953c2a19b6ee7d2d26eaab1417f760 /vcl
parent4db28b21499b866c44a6727118a9a94bf2f590ef (diff)
remove unused Link<> field
Change-Id: I121f133513a9897f38bd87be96c2cea39fbfc836
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/btndlg.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/vcl/source/window/btndlg.cxx b/vcl/source/window/btndlg.cxx
index 9c02cf943922..ec9589aea781 100644
--- a/vcl/source/window/btndlg.cxx
+++ b/vcl/source/window/btndlg.cxx
@@ -260,13 +260,8 @@ void ButtonDialog::StateChanged( StateChangedType nType )
void ButtonDialog::Click()
{
- if ( !maClickHdl )
- {
- if ( IsInExecute() )
- EndDialog( GetCurButtonId() );
- }
- else
- maClickHdl.Call( this );
+ if ( IsInExecute() )
+ EndDialog( GetCurButtonId() );
}
void ButtonDialog::AddButton( const OUString& rText, sal_uInt16 nId,