summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
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 95b7ea13449b..feedf628afa1 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -946,7 +946,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);
}