diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-01-29 09:54:35 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-29 09:46:36 +0000 |
commit | 018ed00d5b40d25c6f8f40485a41026247fdc91e (patch) | |
tree | 71f41c4f8e532519aee3d897b72f965fbb705c85 /xmlsecurity | |
parent | e073bb9c3ea2f7d03a7cf0759efc70edf84fc033 (diff) |
cppcheck: postfix operator
Change-Id: I2b6f0c922b0e70ecbf79f60831ff5d71cd1438fb
Reviewed-on: https://gerrit.libreoffice.org/33656
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx index 769d183b17fe..915b4b6346b0 100644 --- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx @@ -205,7 +205,7 @@ const Sequence< sal_Int8>& SecurityEnvironment_NssImpl::getUnoTunnelId() { OUString SecurityEnvironment_NssImpl::getSecurityEnvironmentInformation() { OUStringBuffer buff; - for (CIT_SLOTS is = m_Slots.begin(); is != m_Slots.end(); is++) + for (CIT_SLOTS is = m_Slots.begin(); is != m_Slots.end(); ++is) { buff.append(OUString::createFromAscii(PK11_GetTokenName(*is))); buff.append("\n"); @@ -353,7 +353,7 @@ SecurityEnvironment_NssImpl::getPersonalCertificates() updateSlots(); //firstly, we try to find private keys in slot - for (CIT_SLOTS is = m_Slots.begin(); is != m_Slots.end(); is++) + for (CIT_SLOTS is = m_Slots.begin(); is != m_Slots.end(); ++is) { PK11SlotInfo *slot = *is; SECKEYPrivateKeyList* priKeyList ; @@ -835,7 +835,7 @@ sal_Int32 SecurityEnvironment_NssImpl::getCertificateCharacters( } if(priKey == nullptr) { - for (CIT_SLOTS is = m_Slots.begin(); is != m_Slots.end(); is++) + for (CIT_SLOTS is = m_Slots.begin(); is != m_Slots.end(); ++is) { priKey = PK11_FindPrivateKeyFromCert(*is, const_cast<CERTCertificate*>(cert), nullptr); if (priKey) @@ -913,7 +913,7 @@ xmlSecKeysMngrPtr SecurityEnvironment_NssImpl::createKeysManager() { std::unique_ptr<PK11SlotInfo*[]> sarSlots(new PK11SlotInfo*[cSlots]); PK11SlotInfo** slots = sarSlots.get(); int count = 0; - for (CIT_SLOTS islots = m_Slots.begin();islots != m_Slots.end(); islots++, count++) + for (CIT_SLOTS islots = m_Slots.begin();islots != m_Slots.end(); ++islots, ++count) slots[count] = *islots; pKeysMngr = xmlSecNssAppliedKeysMngrCreate(slots, cSlots, handler ) ; |