[Libreoffice-commits] core.git: forms/source
Noel Grandin
noel at peralex.com
Mon Jun 1 01:20:10 PDT 2015
forms/source/component/ListBox.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d33c6cd7853131d5765a07fbba101f2b64b7bae5
Author: Noel Grandin <noel at peralex.com>
Date: Mon Jun 1 10:18:12 2015 +0200
fix Windows build
after my commit 55bc128636596032c23ee855904822ad813986fc
"loplugin:loopvartoosmall"
Change-Id: I1d43447df24d7bf5c8737801389447980bb69d26
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index 890e901..724b6c8 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
More information about the Libreoffice-commits
mailing list