summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-04-08 01:01:31 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-04-08 01:01:31 +0200
commita16060116346533923c607bd406d3fea511b41ec (patch)
treeb7947f09294205e899ff7dfc0e7ab2940abe45ef
parentClean oox::xls::WorksheetSettings (diff)
downloadcore-a16060116346533923c607bd406d3fea511b41ec.tar.gz
core-a16060116346533923c607bd406d3fea511b41ec.zip
Fix Prefer prefix ++/-- operators
-rw-r--r--editeng/source/editeng/impedit3.cxx2
-rw-r--r--slideshow/source/engine/slideshowimpl.cxx2
-rw-r--r--xmlsecurity/source/helper/documentsignaturehelper.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index a380c08f4b5f..46cfe041d1b0 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -2349,7 +2349,7 @@ void ImpEditEngine::CreateTextPortions( ParaPortion* pParaPortion, sal_uInt16& r
DBG_ASSERT( (nInvPos != aPositions.end()), "InvPos ?!" );
::std::set< sal_uInt32 >::iterator i = nInvPos;
- i++;
+ ++i;
while ( i != aPositions.end() )
{
TextPortion* pNew = new TextPortion( static_cast<sal_uInt16>(*i++) - static_cast<sal_uInt16>(*nInvPos++) );
diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx
index ca91a6cd3424..77180192c1bc 100644
--- a/slideshow/source/engine/slideshowimpl.cxx
+++ b/slideshow/source/engine/slideshowimpl.cxx
@@ -902,7 +902,7 @@ PolygonMap::iterator SlideShowImpl::findPolygons( uno::Reference<drawing::XDrawP
if(aIter->first == xDrawPage)
bFound = true;
else
- aIter++;
+ ++aIter;
}
return aIter;
diff --git a/xmlsecurity/source/helper/documentsignaturehelper.cxx b/xmlsecurity/source/helper/documentsignaturehelper.cxx
index 7523bf1f078a..8b10f0307b85 100644
--- a/xmlsecurity/source/helper/documentsignaturehelper.cxx
+++ b/xmlsecurity/source/helper/documentsignaturehelper.cxx
@@ -374,7 +374,7 @@ bool DocumentSignatureHelper::checkIfAllFilesAreSigned(
//find the file in the element list
typedef ::std::vector< ::rtl::OUString >::const_iterator CIT;
- for (CIT aIter = sElementList.begin(); aIter < sElementList.end(); aIter++)
+ for (CIT aIter = sElementList.begin(); aIter != sElementList.end(); ++aIter)
{
::rtl::OUString sElementListURI = *aIter;
if (alg == OOo2Document)