summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-08-10 22:35:46 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-08-10 22:36:26 +0200
commit9b85b65fb5367b4a5d1c2bd1eed14e3bafe45405 (patch)
tree073e809d2fd9e9a946f602dcb7a5eb89449cd0d0 /sw
parentbe88027c327b5f09d134f235db100ec54afdc30d (diff)
Prefer prefix ++/-- operators for non-primitive types
Change-Id: Ic8d149a78b2bc2bf352b7893202d0d0b6730746c
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/crstrvl.cxx4
-rw-r--r--sw/source/core/fields/docufld.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx
index 6509f8f144c1..9579739cb0d2 100644
--- a/sw/source/core/crsr/crstrvl.cxx
+++ b/sw/source/core/crsr/crstrvl.cxx
@@ -723,7 +723,7 @@ sal_Bool SwCrsrShell::MoveFldType( const SwFieldType* pFldType, sal_Bool bNext,
{
if( it == aSrtLst.begin() )
return sal_False; // no more steps backward possible
- it--;
+ --it;
}
}
else // not found
@@ -737,7 +737,7 @@ sal_Bool SwCrsrShell::MoveFldType( const SwFieldType* pFldType, sal_Bool bNext,
{
if( it == aSrtLst.begin() )
return sal_False; // no more steps backward possible
- it--;
+ --it;
}
}
}
diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx
index 75e824c24aac..b634a72a7a8b 100644
--- a/sw/source/core/fields/docufld.cxx
+++ b/sw/source/core/fields/docufld.cxx
@@ -2263,7 +2263,7 @@ void SwRefPageGetFieldType::UpdateField( SwTxtFld* pTxtFld,
if( itLast != rSetList.begin() )
{
- itLast--;
+ --itLast;
const SwTxtFld* pRefTxtFld = (*itLast)->GetFld();
const SwRefPageSetField* pSetFld =
(SwRefPageSetField*)pRefTxtFld->GetFld().GetFld();
@@ -2353,7 +2353,7 @@ void SwRefPageGetField::ChangeExpansion( const SwFrm* pFrm,
if( itLast == aTmpLst.begin() )
return; // es gibt kein entsprechendes Set - Feld vor mir
- itLast--;
+ --itLast;
const SwTxtFld* pRefTxtFld = (*itLast)->GetFld();
const SwRefPageSetField* pSetFld =