diff options
author | Joseph Powers <jpowers27@cox.net> | 2010-11-25 06:34:20 -0800 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2010-11-25 06:34:20 -0800 |
commit | d974b6220d6bb4fbf93469a92e37e41240481b59 (patch) | |
tree | feafdfc9cd5b255e53ba8d1e914208db140d5a22 /desktop/source/migration | |
parent | c4601fa9649d9756bc8f8cda34ba6129b70a0e4e (diff) |
cppcheck: use ++i instead of i++
Diffstat (limited to 'desktop/source/migration')
-rw-r--r-- | desktop/source/migration/cfgfilter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/migration/cfgfilter.cxx b/desktop/source/migration/cfgfilter.cxx index ca4e0b542cc7..5928ad8ce76f 100644 --- a/desktop/source/migration/cfgfilter.cxx +++ b/desktop/source/migration/cfgfilter.cxx @@ -53,7 +53,7 @@ void SAL_CALL CConfigFilter::initialize(const Sequence< Any >& seqArgs) throw (Exception) { NamedValue nv; - for (sal_Int32 i=0; i < seqArgs.getLength(); i++) + for (sal_Int32 i=0; i < seqArgs.getLength(); ++i) { if (seqArgs[i] >>= nv) { @@ -109,7 +109,7 @@ sal_Bool CConfigFilter::checkElement(rtl::OUString aName) // check whether any include patterns patch this path for (strings_v::const_iterator i_in = m_pvInclude->begin(); - i_in != m_pvInclude->end(); i_in++) + i_in != m_pvInclude->end(); ++i_in) { // pattern is beginning of path // or path is a begiing for pattern @@ -124,7 +124,7 @@ sal_Bool CConfigFilter::checkElement(rtl::OUString aName) if (bResult) { for (strings_v::const_iterator i_ex = m_pvExclude->begin(); - i_ex != m_pvExclude->end(); i_ex++) + i_ex != m_pvExclude->end(); ++i_ex) { if (aFullPath.match(*i_ex, 0)) // pattern is beginning of path { |