diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-11-24 14:42:43 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-11-24 14:43:17 +0100 |
commit | 3f23236dbd3fbfa4fdedde4b8867772d4330a87f (patch) | |
tree | 9d577bd7b0bbc2907ee8440c1b515fc1092b138a /winaccessibility | |
parent | 6b607e8a532097f407432a55762676416e6dd724 (diff) |
cppcheck: Prefer prefix ++/-- operators for non-primitive types
Change-Id: I53a7773ed76d5a38301b4f9378c56698e4df7e8b
Diffstat (limited to 'winaccessibility')
-rw-r--r-- | winaccessibility/source/service/AccObjectWinManager.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx index 0e9c165024eb..b17bc818914c 100644 --- a/winaccessibility/source/service/AccObjectWinManager.cxx +++ b/winaccessibility/source/service/AccObjectWinManager.cxx @@ -185,7 +185,7 @@ XAccessible* AccObjectWinManager::GetXAccByAccObj(AccObject* pAccObj) AccObject* tmp = &(iter->second); if(tmp== pAccObj) return (XAccessible*)(iter->first); - iter++; + ++iter; } return NULL; } @@ -517,7 +517,7 @@ int AccObjectWinManager::UpdateAccSelection(XAccessible* pXAcc) pAccChildObj = (AccObject*)(iter->second); if(pAccChildObj != NULL) NotifyWinEvent(EVENT_OBJECT_SELECTIONREMOVE,pAccObj->GetParentHWND(), OBJID_CLIENT,pAccChildObj->GetResID()); - iter++; + ++iter; } return 0; @@ -550,7 +550,7 @@ void AccObjectWinManager::DeleteFromHwndXAcc(XAccessible* pXAcc ) HwndXAcc.erase(iter); return; } - iter++; + ++iter; } } |