summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-06 14:13:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-06 14:13:42 +0000
commit18d23365fdf27b01ccacec64a4b2a0de99bd33fc (patch)
treefce2011772ca0617ca4ac74cca3624abb10b7d7b
parent7c7e6fa33b1dae304f3fc949299cddcc28911433 (diff)
cppunit: prefer prefix variant
-rw-r--r--xmlsecurity/source/dialogs/resourcemanager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/dialogs/resourcemanager.cxx b/xmlsecurity/source/dialogs/resourcemanager.cxx
index 2e69f3ab35ee..49853dada4e5 100644
--- a/xmlsecurity/source/dialogs/resourcemanager.cxx
+++ b/xmlsecurity/source/dialogs/resourcemanager.cxx
@@ -127,7 +127,7 @@ namespace XmlSec
::rtl::OUStringBuffer s1, s2;
OUString sEqual(RTL_CONSTASCII_USTRINGPARAM(" = "));
typedef vector< pair < OUString, OUString > >::const_iterator CIT;
- for (CIT i = vecAttrValueOfDN.begin(); i < vecAttrValueOfDN.end(); i ++)
+ for (CIT i = vecAttrValueOfDN.begin(); i < vecAttrValueOfDN.end(); ++i)
{
if (i != vecAttrValueOfDN.begin())
{
@@ -344,7 +344,7 @@ vector< pair< OUString, OUString> > parseDN(const OUString& rRawString)
{
OUString sPartId = OUString::createFromAscii( aIDs[i++] );
typedef vector< pair < OUString, OUString > >::const_iterator CIT;
- for (CIT idn = vecAttrValueOfDN.begin(); idn != vecAttrValueOfDN.end(); idn++)
+ for (CIT idn = vecAttrValueOfDN.begin(); idn != vecAttrValueOfDN.end(); ++idn)
{
if (idn->first.equals(sPartId))
{