From d33c6cd7853131d5765a07fbba101f2b64b7bae5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 1 Jun 2015 10:18:12 +0200 Subject: fix Windows build after my commit 55bc128636596032c23ee855904822ad813986fc "loplugin:loopvartoosmall" Change-Id: I1d43447df24d7bf5c8737801389447980bb69d26 --- forms/source/component/ListBox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(i)); + aValueList.push_back(ORowSetValue(sal_Int16(i))); } } else -- cgit v1.2.3