summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-01 21:04:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-01 21:04:29 +0000
commita47bb3048eb458fe7f4b763facbb5bc48d88e287 (patch)
treea30a9167ac4cd59e9b499ddae7518d3564de3464 /lotuswordpro
parent04b3e195db149d394bd2e80bf3fecc8f6faecf31 (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/xfilter/xfdrawpolygon.cxx2
-rw-r--r--lotuswordpro/source/filter/xfilter/xfrow.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfdrawpolygon.cxx b/lotuswordpro/source/filter/xfilter/xfdrawpolygon.cxx
index e08873600a07..49721d6dc357 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 b6230be464d5..7ee4c773751f 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;