summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/legacyprovider.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/unoidl/source/legacyprovider.cxx b/unoidl/source/legacyprovider.cxx
index 9c0b21d8ab2e..b9ee5e5897c5 100644
--- a/unoidl/source/legacyprovider.cxx
+++ b/unoidl/source/legacyprovider.cxx
@@ -371,7 +371,7 @@ rtl::Reference< Entity > readEntity(
return new Module(manager, ucr, sub);
case RT_TYPE_STRUCT:
{
- sal_uInt32 n = reader.getReferenceCount();
+ sal_uInt16 n = reader.getReferenceCount();
if (n == 0) {
OUString base;
switch (reader.getSuperTypeCount()) {
@@ -390,7 +390,7 @@ rtl::Reference< Entity > readEntity(
}
std::vector< PlainStructTypeEntity::Member > mems;
n = reader.getFieldCount();
- for (sal_uInt32 j = 0; j != n; ++j) {
+ for (sal_uInt16 j = 0; j < n; ++j) {
mems.push_back(
PlainStructTypeEntity::Member(
reader.getFieldName(j),
@@ -411,13 +411,13 @@ rtl::Reference< Entity > readEntity(
" with key " + sub.getName()));
}
std::vector< OUString > params;
- for (sal_uInt32 j = 0; j != n; ++j) {
+ for (sal_uInt16 j = 0; j < n; ++j) {
params.push_back(
reader.getReferenceTypeName(j).replace('/', '.'));
}
std::vector< PolymorphicStructTypeTemplateEntity::Member > mems;
n = reader.getFieldCount();
- for (sal_uInt32 j = 0; j != n; ++j) {
+ for (sal_uInt16 j = 0; j < n; ++j) {
mems.push_back(
PolymorphicStructTypeTemplateEntity::Member(
reader.getFieldName(j),