diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-23 15:08:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-23 15:14:32 +0000 |
commit | cfc23b66aafb62b9383b235528181e2febe93502 (patch) | |
tree | a70cbdd8d41f518afa09a69105989d5c03376691 /rdbmaker | |
parent | bcc6d1863f419806a519dfcae65bfa016b346600 (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'rdbmaker')
-rw-r--r-- | rdbmaker/source/rdbmaker/rdbmaker.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rdbmaker/source/rdbmaker/rdbmaker.cxx b/rdbmaker/source/rdbmaker/rdbmaker.cxx index 2a92876e40c0..35b0f6bd843d 100644 --- a/rdbmaker/source/rdbmaker/rdbmaker.cxx +++ b/rdbmaker/source/rdbmaker/rdbmaker.cxx @@ -142,7 +142,7 @@ sal_Bool checkFilterTypes(const OString& type) return sal_True; } - iter++; + ++iter; } return sal_False; @@ -185,12 +185,12 @@ void cleanUp( sal_Bool bError) StringList::reverse_iterator iter = dirEntries.rbegin(); while ( iter != dirEntries.rend() ) { - if (rmdir((char*)(*iter).getStr()) == -1) + if (rmdir((char*)(*iter).getStr()) == -1) { break; } - iter++; + ++iter; } } |