Hullo List,

One, likely final, cppcheck-found post- to pre-iterator patch.

Cheers,

Kevin
>From 8648528511581a0ac5cc7f08e9d2e83bd7fef4cd Mon Sep 17 00:00:00 2001
From: Kevin Hunter <hunt...@earlham.edu>
Date: Mon, 14 Feb 2011 13:48:49 -0500
Subject: [PATCH] cppcheck: post- to pre- *crement change

---
 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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to