summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-08-18 23:14:00 +0300
committerTor Lillqvist <tml@collabora.com>2016-08-18 23:26:29 +0300
commitc76215cf99125eb21e259383fdff15d6c621d683 (patch)
treeb01c4e0f7b2f5247ffce81dab9a3176e2396aa35 /vcl
parent0d5804cc8e26cbf315c85c3d1c5d62929f49b470 (diff)
loplugin:defaultparams
Change-Id: I738fa9270337b17c9373186cdcbc2e7f8cbc32d4
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/combobox.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index d5e47084bf2a..ddc49a973f57 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -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 )