Hullo List,

A simple cppcheck easyhack.

Kevin
>From 0a4b85e9586adf6942f9b061733db9959c2c41d0 Mon Sep 17 00:00:00 2001
From: Kevin Hunter <[email protected]>
Date: Thu, 10 Feb 2011 10:31:10 -0500
Subject: [PATCH] cppcheck: post- to pre- *crement change.

---
 vcl/aqua/source/app/salinst.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vcl/aqua/source/app/salinst.cxx b/vcl/aqua/source/app/salinst.cxx
index 48845fa..5521462 100644
--- a/vcl/aqua/source/app/salinst.cxx
+++ b/vcl/aqua/source/app/salinst.cxx
@@ -610,7 +610,7 @@ void AquaSalInstance::handleAppDefinedEvent( NSEvent* pEvent )
         {
             if ( ((*it)->mbFullScreen == true) )
                 bIsFullScreenMode = true;
-            it++;
+            ++it;
         }
 
         switch ([pEvent data1])
-- 
1.7.1

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to