[Libreoffice-commits] core.git: svx/source

Cao Cuong Ngo cao.cuong.ngo at gmail.com
Fri Apr 5 02:48:13 PDT 2013


 svx/source/dialog/srchdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9650599912d24b05e65a94727bac135b0c76384d
Author: Cao Cuong Ngo <cao.cuong.ngo at gmail.com>
Date:   Thu Apr 4 15:50:37 2013 +0200

    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 at suse.com>
    Tested-by: Thorsten Behrens <tbehrens at suse.com>

diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 3d5a1fd..0040b32 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 );
 


More information about the Libreoffice-commits mailing list