summaryrefslogtreecommitdiff
path: root/toolkit/source/layout/core
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-01 20:56:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-01 20:56:11 +0000
commitebfd82ca51acb38684c38949675550a6bf926c84 (patch)
tree80ccc7daa02016300aa132bac3eb9b5bd5b6590c /toolkit/source/layout/core
parent80df348d1c6fc6ee8dae5d0c03b41e753034065a (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'toolkit/source/layout/core')
-rw-r--r--toolkit/source/layout/core/translate.cxx2
1 files changed, 1 insertions, 1 deletions
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<OUString> const& aSubDirs,
static OUString const aSlash(RTL_CONSTASCII_USTRINGPARAM("/"));
String aResult;
for ( std::list<OUString>::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 ) );