[Libreoffice-commits] core.git: forms/source

Lionel Elie Mamane lionel at mamane.lu
Sun Jun 23 11:52:27 PDT 2013


 forms/source/component/ListBox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e2d9138ce03d4f330e0737396b75871cab6ca5d2
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Sun Jun 23 20:52:48 2013 +0200

    make "gcc -Werror" happy
    
    Change-Id: I6dd1bf6b4535bb956cb7e85908312d52749a6f2b

diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index e2d800a..cd058ab 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -940,7 +940,7 @@ namespace frm
                         if(*aBoundColumn == -1)
                         {
                             // the type of i matters! It will be the type of the ORowSetValue pushed to aValueList!
-                            for(sal_Int16 i=0; i < aDisplayList.size(); ++i)
+                            for(sal_Int16 i=0; static_cast<ValueList::size_type>(i) < aDisplayList.size(); ++i)
                             {
                                 aValueList.push_back(i);
                             }


More information about the Libreoffice-commits mailing list