[Libreoffice-commits] .: lotuswordpro/source

Caolán McNamara caolan at kemper.freedesktop.org
Sat Jan 1 13:04:35 PST 2011


 lotuswordpro/source/filter/xfilter/xfdrawpolygon.cxx |    2 +-
 lotuswordpro/source/filter/xfilter/xfrow.cxx         |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit a936533b857468084884b895c1ca51f1a0a8f023
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 1 21:04:29 2011 +0000

    cppcheck: prefer prefix variant

diff --git a/lotuswordpro/source/filter/xfilter/xfdrawpolygon.cxx b/lotuswordpro/source/filter/xfilter/xfdrawpolygon.cxx
index f6e1c48..4fd40c6 100644
--- a/lotuswordpro/source/filter/xfilter/xfdrawpolygon.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfdrawpolygon.cxx
@@ -82,7 +82,7 @@ void XFDrawPolygon::ToXml(IXFStream *pStrm)
 
     //points
     rtl::OUString	strPoints;
-    for( it = m_aPoints.begin(); it != m_aPoints.end(); it++ )
+    for( it = m_aPoints.begin(); it != m_aPoints.end(); ++it )
     {
         XFPoint pt = *it;
         double	x = (pt.GetX()-rect.GetX())*1000;
diff --git a/lotuswordpro/source/filter/xfilter/xfrow.cxx b/lotuswordpro/source/filter/xfilter/xfrow.cxx
index 50eb7fe..163a511 100644
--- a/lotuswordpro/source/filter/xfilter/xfrow.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfrow.cxx
@@ -104,7 +104,7 @@ XFRow& XFRow::operator=(const XFRow& other)
 XFRow::~XFRow()
 {
     std::map<sal_Int32,XFCell*>::iterator it;
-    for( it=m_aCells.begin(); it!=m_aCells.end(); it++ )
+    for( it=m_aCells.begin(); it!=m_aCells.end(); ++it )
     {
         XFCell *pCell = (*it).second;
         if( pCell )
@@ -165,7 +165,7 @@ void	XFRow::ToXml(IXFStream *pStrm)
     pStrm->StartElement( A2OUSTR("table:table-row") );
 
     std::map<sal_Int32,XFCell*>::iterator	it = m_aCells.begin();
-    for( ; it!=m_aCells.end(); it++ )
+    for( ; it!=m_aCells.end(); ++it )
     {
         int	col = (*it).first;
         XFCell	*pCell = (*it).second;


More information about the Libreoffice-commits mailing list