summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-04-01 19:10:51 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-04-01 20:22:02 +0200
commit85a499d50fe17ff19b43f5a69b9c809ace18401e (patch)
tree8f0298adbfd3ce7e6b7cae6d8c4b072f1c36f445 /svx
parentfac49ace812a15ba10d30a3735b61ae30ac287c5 (diff)
Prefer prefix ++/-- operators for non-primitive types
Change-Id: I9fc8adf31c269db33d0d9806e182748ec082c1e3
Diffstat (limited to 'svx')
-rw-r--r--svx/source/table/tablerow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/table/tablerow.cxx b/svx/source/table/tablerow.cxx
index 03208ab10889..ab164ddc48f4 100644
--- a/svx/source/table/tablerow.cxx
+++ b/svx/source/table/tablerow.cxx
@@ -141,13 +141,13 @@ void TableRow::removeColumns( sal_Int32 nIndex, sal_Int32 nCount )
{
CellVector::iterator aBegin( maCells.begin() );
while( nIndex-- && (aBegin != maCells.end()) )
- aBegin++;
+ ++aBegin;
if( nCount > 1 )
{
CellVector::iterator aEnd( aBegin );
while( nCount-- && (aEnd != maCells.end()) )
- aEnd++;
+ ++aEnd;
maCells.erase( aBegin, aEnd );
}
else