From 6fc0bbbeabaafd1990404b66fa0d8a398fbff7ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 23 Dec 2010 14:59:32 +0000 Subject: [PATCH] cppcheck: prefer prefix variant --- basic/source/classes/sbunoobj.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index c97945515db3..4cc8b0d3decf 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -3309,7 +3309,7 @@ VBAConstantHelper::isVBAConstantType( const String& rName ) ::rtl::OUString sKey( rName ); VBAConstantsVector::const_iterator it = aConstCache.begin(); - for( ; it != aConstCache.end(); it++ ) + for( ; it != aConstCache.end(); ++it ) { if( sKey.equalsIgnoreAsciiCase( *it ) ) {