[Libreoffice-commits] .: fpicker/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Feb 11 12:51:31 PST 2011


 fpicker/source/aqua/ControlHelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3a87b5c8c3a1b0374f6761d6ccdc1efb1d05e831
Author: Kevin Hunter <hunteke at earlham.edu>
Date:   Fri Feb 11 15:20:51 2011 -0500

    cppcheck: post- to pre- *crement change

diff --git a/fpicker/source/aqua/ControlHelper.cxx b/fpicker/source/aqua/ControlHelper.cxx
index 67725c1..c7ac6fd 100644
--- a/fpicker/source/aqua/ControlHelper.cxx
+++ b/fpicker/source/aqua/ControlHelper.cxx
@@ -86,7 +86,7 @@ ControlHelper::~ControlHelper()
         [m_pUserPane release];
     }
 
-    for(std::list<NSControl *>::iterator control = m_aActiveControls.begin(); control != m_aActiveControls.end(); control++) {
+    for(std::list<NSControl *>::iterator control = m_aActiveControls.begin(); control != m_aActiveControls.end(); ++control) {
         NSControl* pControl = (*control);
         NSString* sLabelName = m_aMapListLabels[pControl];
         if (sLabelName != nil) {


More information about the Libreoffice-commits mailing list