summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-06-23 20:52:48 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-06-23 20:52:48 +0200
commite2d9138ce03d4f330e0737396b75871cab6ca5d2 (patch)
tree7dd9967a84d8bfb844418f09b27a506c4fa637fa /forms
parentf76cedf1d61da5fcca788864fe659c4157534696 (diff)
make "gcc -Werror" happy
Change-Id: I6dd1bf6b4535bb956cb7e85908312d52749a6f2b
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ListBox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index e2d800a98d37..cd058ab7c13f 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);
}