summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-07-31 01:26:30 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-07-31 01:26:30 +0200
commitfb6c475aa46b475f381d62c112e0e8cf05fffd98 (patch)
treef83564bc13e326720faaa4c807ccdfa1e17dece4
parent0282008864dec34672dee72fe54b31edee7b9efe (diff)
Revert another specific change
-rw-r--r--svx/source/unodraw/unoprov.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx
index dea8b3be7a..f38b666570 100644
--- a/svx/source/unodraw/unoprov.cxx
+++ b/svx/source/unodraw/unoprov.cxx
@@ -909,8 +909,9 @@ uno::Sequence< OUString > UHashMap::getServiceNames()
uno::Sequence< OUString > aSeq( rMap.size() );
OUString* pStrings = aSeq.getArray();
- for (int i = 0, UHashMapImpl::const_iterator it = rMap.begin(); it != rMap.end(); ++it, ++i)
- pStrings[i] = it->first;
+ int i = 0;
+ for (UHashMapImpl::const_iterator it = rMap.begin(); it != rMap.end(); it++)
+ pStrings[i++] = it->first;
return aSeq;
}