Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.