Kaydet (Commit) c76215cf authored tarafından Tor Lillqvist's avatar Tor Lillqvist

loplugin:defaultparams

Change-Id: I738fa9270337b17c9373186cdcbc2e7f8cbc32d4
üst 0d5804cc
......@@ -355,10 +355,10 @@ IMPL_LINK_TYPED(ComboBox::Impl, ImplAutocompleteHdl, Edit&, rEdit, void)
if (!m_isMatchCase)
{
// Try match case insensitive from current position
nPos = m_pImplLB->GetEntryList()->FindMatchingEntry(aStartText, nStart, true);
nPos = m_pImplLB->GetEntryList()->FindMatchingEntry(aStartText, nStart);
if ( nPos == LISTBOX_ENTRY_NOTFOUND )
// Try match case insensitive, but from start
nPos = m_pImplLB->GetEntryList()->FindMatchingEntry(aStartText, 0, true);
nPos = m_pImplLB->GetEntryList()->FindMatchingEntry(aStartText);
}
if ( nPos == LISTBOX_ENTRY_NOTFOUND )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment