summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCao Cuong Ngo <cao.cuong.ngo@gmail.com>2013-04-04 15:50:37 +0200
committerThorsten Behrens <tbehrens@suse.com>2013-04-05 09:47:54 +0000
commit9650599912d24b05e65a94727bac135b0c76384d (patch)
tree6f8bad7a42db04ff1112334f859e6a0eb5f37342 /svx
parentb558d4bb8372cf65ca343f191d672b1484a6fd13 (diff)
fdo#60834 Find and Replace dialog: fix replace box selection on click
Change-Id: Ic5256ae05d9b4646651e897b7d4c00d9a84329bb Reviewed-on: https://gerrit.libreoffice.org/3202 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/srchdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 3d5a1fdce671..0040b3278427 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -2029,7 +2029,7 @@ IMPL_LINK( SvxSearchDialog, FocusHdl_Impl, Control *, pCtrl )
}
bSet = sal_True;
- aSearchLB.SetSelection( Selection( SELECTION_MIN, SELECTION_MAX ) );
+ ( (ComboBox*)pCtrl )->SetSelection( Selection( SELECTION_MIN, SELECTION_MAX ) );
ModifyHdl_Impl( (ComboBox*)pCtrl );