summaryrefslogtreecommitdiff
path: root/xmloff/source/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-28 15:44:10 +0200
committerNoel Grandin <noel@peralex.com>2015-05-29 08:48:41 +0200
commit6140ca9f1d728475e332f9fa96ee62dda58687ea (patch)
tree284733762d73048939675ca39a8932a3ca2009f5 /xmloff/source/forms
parentafcf1ecee1af1312551583b9fc860c1881ba2134 (diff)
loplugin:loopvartoosmall
Change-Id: Icb31e51575f7fffd36be73bbd87a3c5e56c3aa26
Diffstat (limited to 'xmloff/source/forms')
-rw-r--r--xmloff/source/forms/propertyimport.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/forms/propertyimport.cxx b/xmloff/source/forms/propertyimport.cxx
index 3aa6200f2976..178104844698 100644
--- a/xmloff/source/forms/propertyimport.cxx
+++ b/xmloff/source/forms/propertyimport.cxx
@@ -295,7 +295,7 @@ void OPropertyImport::StartElement(const Reference< XAttributeList >& _rxAttrLis
const SvXMLNamespaceMap& rMap = m_rContext.getGlobalContext().GetNamespaceMap();
sal_uInt16 nNamespace;
OUString sLocalName;
- for (sal_Int16 i=0; i<nAttributeCount; ++i)
+ for (sal_Int32 i=0; i<nAttributeCount; ++i)
{
nNamespace = rMap.GetKeyByAttrName(_rxAttrList->getNameByIndex(i), &sLocalName);
handleAttribute(nNamespace, sLocalName, _rxAttrList->getValueByIndex(i));
@@ -486,7 +486,7 @@ void OListPropertyContext::StartElement( const Reference< XAttributeList >& _rxA
sal_uInt16 nNamespace;
OUString sAttributeName;
const SvXMLNamespaceMap& rMap = GetImport().GetNamespaceMap();
- for ( sal_Int16 i = 0; i < nAttributeCount; ++i )
+ for ( sal_Int32 i = 0; i < nAttributeCount; ++i )
{
nNamespace = rMap.GetKeyByAttrName( _rxAttrList->getNameByIndex( i ), &sAttributeName );
if ( ( XML_NAMESPACE_FORM == nNamespace )
@@ -566,7 +566,7 @@ void OListValueContext::StartElement( const Reference< XAttributeList >& _rxAttr
sal_uInt16 nNamespace;
OUString sAttributeName;
const SvXMLNamespaceMap& rMap = GetImport().GetNamespaceMap();
- for ( sal_Int16 i = 0; i < nAttributeCount; ++i )
+ for ( sal_Int32 i = 0; i < nAttributeCount; ++i )
{
nNamespace = rMap.GetKeyByAttrName( _rxAttrList->getNameByIndex( i ), &sAttributeName );
if ( XML_NAMESPACE_OFFICE == nNamespace )