summaryrefslogtreecommitdiff
path: root/forms/source/component/ListBox.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-01 10:18:12 +0200
committerNoel Grandin <noel@peralex.com>2015-06-01 10:19:15 +0200
commitd33c6cd7853131d5765a07fbba101f2b64b7bae5 (patch)
tree71c8ec99f4ac233bd32e849460b5daed71a93407 /forms/source/component/ListBox.cxx
parent4fe7a99c4b0c46b9d254efc870f75e25f2b5c37f (diff)
fix Windows build
after my commit 55bc128636596032c23ee855904822ad813986fc "loplugin:loopvartoosmall" Change-Id: I1d43447df24d7bf5c8737801389447980bb69d26
Diffstat (limited to 'forms/source/component/ListBox.cxx')
-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 890e901a587a..724b6c8f54be 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -943,7 +943,7 @@ namespace frm
// the type of i matters! It will be the type of the ORowSetValue pushed to aValueList!
for(size_t i=0; i < aDisplayList.size(); ++i)
{
- aValueList.push_back(static_cast<connectivity::ORowSetValue >(i));
+ aValueList.push_back(ORowSetValue(sal_Int16(i)));
}
}
else