diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-08-10 22:35:46 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-08-10 22:36:26 +0200 |
commit | 9b85b65fb5367b4a5d1c2bd1eed14e3bafe45405 (patch) | |
tree | 073e809d2fd9e9a946f602dcb7a5eb89449cd0d0 /tools/source | |
parent | be88027c327b5f09d134f235db100ec54afdc30d (diff) |
Prefer prefix ++/-- operators for non-primitive types
Change-Id: Ic8d149a78b2bc2bf352b7893202d0d0b6730746c
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/memtools/unqidx.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/memtools/unqidx.cxx b/tools/source/memtools/unqidx.cxx index 63539d09f21b..59a212a74a4a 100644 --- a/tools/source/memtools/unqidx.cxx +++ b/tools/source/memtools/unqidx.cxx @@ -161,7 +161,7 @@ sal_uIntPtr UniqueIndexImpl::NextIndex(sal_uIntPtr aIndex) const const_iterator it = find( aIndex ); if ( it == end() ) return UNIQUEINDEX_ENTRY_NOTFOUND; - it++; + ++it; if ( it == end() ) return UNIQUEINDEX_ENTRY_NOTFOUND; return it->first; |