[Libreoffice-commits] core.git: libreofficekit/source

Julien Nabet serval2412 at yahoo.fr
Sun Jun 14 00:45:52 PDT 2015


 libreofficekit/source/gtk/tilebuffer.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 01a189abcd9a4ca472a74b3b2c000c9338fc2c91
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Jun 14 09:09:52 2015 +0200

    cppcheck: postfixOperator
    
    Change-Id: Ia17bdf6e8f871d64add358822ea383236ecd6405

diff --git a/libreofficekit/source/gtk/tilebuffer.cxx b/libreofficekit/source/gtk/tilebuffer.cxx
index 2c0ee90..3f22f98 100644
--- a/libreofficekit/source/gtk/tilebuffer.cxx
+++ b/libreofficekit/source/gtk/tilebuffer.cxx
@@ -54,7 +54,7 @@ void Tile::setPixbuf(GdkPixbuf *buffer)
 void TileBuffer::resetAllTiles()
 {
     std::map<int, Tile>::iterator it = m_mTiles.begin();
-    for (; it != m_mTiles.end(); it++)
+    for (; it != m_mTiles.end(); ++it)
     {
         it->second.release();
     }


More information about the Libreoffice-commits mailing list