summaryrefslogtreecommitdiffstats
path: root/xmloff/source/style/xmlnumfe.cxx
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/style/xmlnumfe.cxx
parentloplugin:loopvartoosmall (diff)
downloadcore-6140ca9f1d728475e332f9fa96ee62dda58687ea.tar.gz
core-6140ca9f1d728475e332f9fa96ee62dda58687ea.zip
loplugin:loopvartoosmall
Change-Id: Icb31e51575f7fffd36be73bbd87a3c5e56c3aa26
Diffstat (limited to 'xmloff/source/style/xmlnumfe.cxx')
-rw-r--r--xmloff/source/style/xmlnumfe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 6b7142fa366a..07cf3131cc69 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -218,7 +218,7 @@ void SvXMLNumUsedList_Impl::SetWasUsed(const uno::Sequence<sal_Int32>& rWasUsed)
DBG_ASSERT(nWasUsedCount == 0, "WasUsed should be empty");
sal_Int32 nCount(rWasUsed.getLength());
const sal_Int32* pWasUsed = rWasUsed.getConstArray();
- for (sal_uInt16 i = 0; i < nCount; i++, pWasUsed++)
+ for (sal_Int32 i = 0; i < nCount; i++, pWasUsed++)
{
std::pair<SvXMLuInt32Set::const_iterator, bool> aPair = aWasUsed.insert( *pWasUsed );
if (aPair.second)