summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-29 16:53:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-29 16:54:53 +0100
commit0c7b73a4b1b1cbf191404f2352b46f7746f5ff10 (patch)
tree265ed2ddff9f6dafd1304cdab26aa0c450dce323
parentea0ac020160207a08de3168142abc2a74f17afd6 (diff)
Resolves: fdo#61102 type ahead in lists skips the next entry
Change-Id: I3f8700f22cee6990791d50475973e91a092260d5
-rw-r--r--vcl/source/control/ilstbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 77b1ceed4ccd..ea56541a1b24 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -1655,7 +1655,7 @@ namespace
::vcl::StringEntryIdentifier ImplListBoxWindow::CurrentEntry( OUString& _out_entryText ) const
{
- return lcl_getEntry( *GetEntryList(), ( mnCurrentPos == LISTBOX_ENTRY_NOTFOUND ) ? 0 : mnCurrentPos + 1, _out_entryText );
+ return lcl_getEntry( *GetEntryList(), ( mnCurrentPos == LISTBOX_ENTRY_NOTFOUND ) ? 0 : mnCurrentPos, _out_entryText );
}
::vcl::StringEntryIdentifier ImplListBoxWindow::NextEntry( ::vcl::StringEntryIdentifier _currentEntry, OUString& _out_entryText ) const