diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-03-29 23:55:24 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-03-29 23:56:31 +0200 |
commit | e511a7d6390cdc0a24a33c2870a9d6bf6522267a (patch) | |
tree | cc6b1f062ef3954e55eacf7ccf1f5e0d8731f978 /comphelper | |
parent | 7c9e637bdebbc3688f3d321048f77b480b58dc24 (diff) |
Fixes a bunch of "Prefer prefix ++/-- operators for non-primitive types"
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/container/embeddedobjectcontainer.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx index c10937207376..ab70006e42cd 100644 --- a/comphelper/source/container/embeddedobjectcontainer.cxx +++ b/comphelper/source/container/embeddedobjectcontainer.cxx @@ -235,7 +235,7 @@ void EmbeddedObjectContainer::CloseEmbeddedObjects() } } - aIt++; + ++aIt; } } @@ -290,7 +290,7 @@ sal_Bool EmbeddedObjectContainer::HasEmbeddedObject( const uno::Reference < embe if ( (*aIt).second == xObj ) return sal_True; else - aIt++; + ++aIt; } return sal_False; @@ -313,7 +313,7 @@ sal_Bool EmbeddedObjectContainer::HasInstantiatedEmbeddedObject( const ::rtl::OU if ( (*aIt).second == xObj ) return (*aIt).first; else - aIt++; + ++aIt; } OSL_FAIL( "Unknown object!" ); @@ -498,7 +498,7 @@ void EmbeddedObjectContainer::AddEmbeddedObject( const ::com::sun::star::uno::Re break; } else - aIt++; + ++aIt; } } } @@ -905,7 +905,7 @@ sal_Bool EmbeddedObjectContainer::MoveEmbeddedObject( EmbeddedObjectContainer& r break; } - aIt++; + ++aIt; } OSL_ENSURE( bRet, "Object not found for removal!" ); @@ -1107,7 +1107,7 @@ sal_Bool EmbeddedObjectContainer::RemoveEmbeddedObject( const uno::Reference < e break; } - aIt++; + ++aIt; } OSL_ENSURE( bFound, "Object not found for removal!" ); @@ -1154,7 +1154,7 @@ sal_Bool EmbeddedObjectContainer::CloseEmbeddedObject( const uno::Reference < em break; } - aIt++; + ++aIt; } if ( bFound ) @@ -1221,7 +1221,7 @@ uno::Reference < io::XInputStream > EmbeddedObjectContainer::GetGraphicStream( c break; } - aIt++; + ++aIt; } // try to load it from the container storage |