diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-09-25 14:02:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:52 +0100 |
commit | 5d60e826ae6b10161ecff64fbfbf9af230898764 (patch) | |
tree | 53e0d8597b3393a98bf40887ee2f87aa1767f31b /sw/source/ui | |
parent | 56ec8c6dcd6140b3df8bc51815066c95f4af2cfa (diff) |
set the default button on various dialogs
Change-Id: I63b1cc73d8ed240c40dec07fe1f8470da8410464
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/misc/linenum.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/misc/linenum.cxx b/sw/source/ui/misc/linenum.cxx index 96e90c1a0a2d..895137b37e7c 100644 --- a/sw/source/ui/misc/linenum.cxx +++ b/sw/source/ui/misc/linenum.cxx @@ -133,8 +133,7 @@ SwLineNumberingDlg::SwLineNumberingDlg(SwView *pVw) ModifyHdl(); LineOnOffHdl(); - PushButton *pOkPB = get<PushButton>("ok"); - pOkPB->SetClickHdl(LINK(this, SwLineNumberingDlg, OKHdl)); + get<PushButton>("ok")->SetClickHdl(LINK(this, SwLineNumberingDlg, OKHdl)); } SwLineNumberingDlg::~SwLineNumberingDlg() |