[Libreoffice-commits] core.git: registry/source
Stephan Bergmann
sbergman at redhat.com
Sat Feb 25 09:14:39 UTC 2017
registry/source/regimpl.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 0203b6be4bb397165d7c6c354e75409164a0e360
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sat Feb 25 10:14:05 2017 +0100
loplugin:loopvartoosmall
Change-Id: I8c2fcdbcfaa8ebf83a80fb99701096982b564ef1
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx
index 0065b49..aaf9f8f 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())
{
More information about the Libreoffice-commits
mailing list