[Libreoffice-commits] .: cui/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Mon Jul 23 07:28:38 PDT 2012


 cui/source/options/optcolor.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6a90d4ec8afd1e58c9b69f4de1364d5b5624300b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jul 23 16:28:22 2012 +0200

    -Werror=sign-compare
    
    Change-Id: I6be5df685575c6909d4adfcee0ccc4fb0bd4b600

diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx
index 7bbc437..5c90b65 100644
--- a/cui/source/options/optcolor.cxx
+++ b/cui/source/options/optcolor.cxx
@@ -1033,7 +1033,7 @@ unsigned ColorConfigWindow_Impl::GetPosBehindLastChapter () const
 long ColorConfigWindow_Impl::GetDeltaAbove (Group eGroup) const
 {
     long nDelta = 0;
-    for (unsigned i = 0; i != eGroup; ++i)
+    for (int i = 0; i != eGroup; ++i)
         if (!IsGroupVisible(static_cast<Group>(i)))
             nDelta += vChapters[i]->GetHeight();
     return nDelta;


More information about the Libreoffice-commits mailing list