[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/filters/kword/mswrite
From:       Laurent Montel <montel () kde ! org>
Date:       2004-10-19 11:36:35
Message-ID: 20041019113635.7801A16C63 () office ! kde ! org
[Download RAW message or body]

CVS commit by mlaurent: 

i++ -> ++i


  M +1 -1      libmswrite.cpp   1.6
  M +3 -3      structures_private.cpp   1.8


--- koffice/filters/kword/mswrite/libmswrite.cpp  #1.5:1.6
@@ -175,5 +175,5 @@ namespace MSWrite
 
                 List <FormatInfoPage>::Iterator it;
-                for (it = m_formatInfoPageList.begin (); it != m_formatInfoPageList.end (); it++)
+                for (it = m_formatInfoPageList.begin (); it != m_formatInfoPageList.end (); ++it)
                 {
                         FormatInfoPage &fip = *it;

--- koffice/filters/kword/mswrite/structures_private.cpp  #1.7:1.8
@@ -461,5 +461,5 @@ namespace MSWrite
                 // OPT: inefficient, maybe an array of pointers because we can't delete fonts anyway
                 List <Font>::Iterator it = m_fontList.begin ();
-                for (int i = 0; i < int (fontCode) && it != m_fontList.end (); i++, it++)
+                for (int i = 0; i < int (fontCode) && it != m_fontList.end (); i++, ++it)
                         ;
                 if (it == m_fontList.end ()) return NULL;
@@ -472,5 +472,5 @@ namespace MSWrite
 
                 List <Font>::Iterator it;
-                for (it = m_fontList.begin (); it != m_fontList.end (); it++)
+                for (it = m_fontList.begin (); it != m_fontList.end (); ++it)
                 {
                         if ((*it) == *want)
@@ -684,5 +684,5 @@ namespace MSWrite
                 int i = 0;
                 List <PagePointer>::Iterator it;
-                for (it = m_pagePointerList.begin (); it != m_pagePointerList.end (); it++, i++)
+                for (it = m_pagePointerList.begin (); it != m_pagePointerList.end (); ++it, i++)
                 {
                         PagePointer &pp = (*it);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic