tdf#67990: Management of case in combobox
commit76f33f10309b0ee384a75a7a854858b068d60495
authorJulien Nabet <serval2412@yahoo.fr>
Mon, 16 Mar 2015 21:31:23 +0000 (16 22:31 +0100)
committerCaolán McNamara <caolanm@redhat.com>
Thu, 26 Mar 2015 14:14:44 +0000 (26 14:14 +0000)
treee12e3b6f2ca46cb9998b93b5c1bb3406408ad3cb
parent6c4100cf81e1678ff386549c0cdaa2f73a154ddc
tdf#67990: Management of case in combobox

I noticed these 2 points:
1) Combobox were used with autocomplete with default (false) value for matchCase
=> so initialize autocomplete with true value for matchCase
2) FindMatchingEntry uses bLazy as !matchCase
but when bLazy = false, no autocomplete can work since you must type the whole word
so just use "entryCombo" startsWith "typed string" instead of "entryCombo" == "typed string"

(thank you Lionel for this tip: http://nabble.documentfoundation.org/Finding-the-right-location-for-tdf-67990-Base-module-td4143324.html)

Change-Id: Ib1063002c3284122fd5279f27c1ccbc177bbac7c
Reviewed-on: https://gerrit.libreoffice.org/14885
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
toolkit/source/awt/vclxwindows.cxx
vcl/source/control/ilstbox.cxx