[Libreoffice-commits] core.git: winaccessibility/source

Julien Nabet serval2412 at yahoo.fr
Sun Nov 24 05:43:42 PST 2013


 winaccessibility/source/service/AccObjectWinManager.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 3f23236dbd3fbfa4fdedde4b8867772d4330a87f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Nov 24 14:42:43 2013 +0100

    cppcheck: Prefer prefix ++/-- operators for non-primitive types
    
    Change-Id: I53a7773ed76d5a38301b4f9378c56698e4df7e8b

diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx
index 0e9c165..b17bc81 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;
     }
 }
 


More information about the Libreoffice-commits mailing list