[Libreoffice-commits] .: basic/source

Joseph Powers jpowers at kemper.freedesktop.org
Thu Dec 16 21:43:28 PST 2010


 basic/source/basmgr/basmgr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d16ea9a367d10f2e2dcbeef87caa711c87ae207b
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Thu Dec 16 21:42:56 2010 -0800

    Fix bug in previous patch
    
    Thanks, kohei

diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index 14fa693..c4b05c4 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -606,7 +606,7 @@ BasicLibInfo* BasicLibs::Prev()
 BasicLibInfo* BasicLibs::Next()
 {
     if (  aList.empty()
-       || CurrentLib < ( aList.size() - 1 )
+       || CurrentLib >= ( aList.size() - 1 )
        )
         return NULL;
     ++CurrentLib;


More information about the Libreoffice-commits mailing list