diff options
-rw-r--r-- | registry/source/regimpl.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx index 0065b4984775..aaf9f8f4f164 100644 --- a/registry/source/regimpl.cxx +++ b/registry/source/regimpl.cxx @@ -1174,13 +1174,12 @@ static sal_uInt32 checkTypeReaders(RegistryTypeReader& reader1, std::set< OUString >& nameSet) { sal_uInt32 count=0; - sal_uInt16 i; - for (i=0 ; i < reader1.getFieldCount(); i++) + for (sal_uInt32 i=0 ; i < reader1.getFieldCount(); i++) { nameSet.insert(reader1.getFieldName(i)); count++; } - for (i=0 ; i < reader2.getFieldCount(); i++) + for (sal_uInt32 i=0 ; i < reader2.getFieldCount(); i++) { if (nameSet.find(reader2.getFieldName(i)) == nameSet.end()) { |