From ebfd82ca51acb38684c38949675550a6bf926c84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 1 Jan 2011 20:56:11 +0000 Subject: [PATCH] cppcheck: prefer prefix variant --- toolkit/source/layout/core/translate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/source/layout/core/translate.cxx b/toolkit/source/layout/core/translate.cxx index 009c64acbb74..9e060a6c0646 100644 --- a/toolkit/source/layout/core/translate.cxx +++ b/toolkit/source/layout/core/translate.cxx @@ -87,7 +87,7 @@ getFirstExisting( OUString const& aDir, std::list const& aSubDirs, static OUString const aSlash(RTL_CONSTASCII_USTRINGPARAM("/")); String aResult; for ( std::list::const_iterator i = aSubDirs.begin(); - i != aSubDirs.end(); i++ ) + i != aSubDirs.end(); ++i ) { String aFile = aDir + aSlash + *i + aSlash + aXMLName; OSL_TRACE( "testing: %s", OUSTRING_CSTR( aFile ) );