[Libreoffice-commits] .: vcl/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon May 23 02:36:16 PDT 2011


 vcl/source/control/ilstbox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4c8d4882960092ceed5d77a86953d1a0775be919
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon May 23 10:34:17 2011 +0100

    List->vector change incorrect return index

diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 8af9fe5..340a349 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -186,8 +186,8 @@ sal_uInt16 ImplEntryList::InsertEntry( sal_uInt16 nPos, ImplEntryType* pNewEntry
         }
         else
         {
-            maEntries.push_back(pNewEntry);
             insPos = maEntries.size();
+            maEntries.push_back(pNewEntry);
         }
     }
     else


More information about the Libreoffice-commits mailing list