[Libreoffice-commits] .: svx/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Sat Jul 30 16:26:35 PDT 2011
svx/source/unodraw/unoprov.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit fb6c475aa46b475f381d62c112e0e8cf05fffd98
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Jul 31 01:26:30 2011 +0200
Revert another specific change
diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx
index dea8b3b..f38b666 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;
}
More information about the Libreoffice-commits
mailing list