[PATCH] cppcheck: post- to pre- *crement change

Kevin Hunter hunteke at earlham.edu
Mon Feb 14 10:48:49 PST 2011


---
 vcl/win/source/gdi/salnativewidgets-luna.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vcl/win/source/gdi/salnativewidgets-luna.cxx b/vcl/win/source/gdi/salnativewidgets-luna.cxx
index 5f7ebc1..9ff5d27 100644
--- a/vcl/win/source/gdi/salnativewidgets-luna.cxx
+++ b/vcl/win/source/gdi/salnativewidgets-luna.cxx
@@ -186,7 +186,7 @@ void SalData::deInitNWF( void )
     while( iter != aThemeMap.end() )
     {
         vsAPI.CloseThemeData(iter->second);
-        iter++;
+        ++iter;
     }
     aThemeMap.clear();
 }
-- 
1.7.1


--------------040000040305080708080706--


More information about the LibreOffice mailing list