[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Tue Apr 29 08:55:20 PDT 2014
vcl/source/control/ilstbox.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0c7b73a4b1b1cbf191404f2352b46f7746f5ff10
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Apr 29 16:53:06 2014 +0100
Resolves: fdo#61102 type ahead in lists skips the next entry
Change-Id: I3f8700f22cee6990791d50475973e91a092260d5
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 77b1cee..ea56541 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
More information about the Libreoffice-commits
mailing list