[Libreoffice-commits] .: 2 commits - svx/source xmloff/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Dec 23 06:09:37 PST 2010
svx/source/svdraw/polypolygoneditor.cxx | 6 +++---
xmloff/source/core/DocumentSettingsContext.cxx | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
New commits:
commit be406c90f67890f4e161333bcfa4b9ab15f3f1bb
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 23 14:00:59 2010 +0000
cppcheck: prefer prefix variant
diff --git a/svx/source/svdraw/polypolygoneditor.cxx b/svx/source/svdraw/polypolygoneditor.cxx
index 039608f..64774e5 100644
--- a/svx/source/svdraw/polypolygoneditor.cxx
+++ b/svx/source/svdraw/polypolygoneditor.cxx
@@ -47,7 +47,7 @@ bool PolyPolygonEditor::DeletePoints( const std::set< sal_uInt16 >& rAbsPoints )
bool bPolyPolyChanged = false;
std::set< sal_uInt16 >::const_reverse_iterator aIter;( rAbsPoints.rbegin() );
- for( aIter = rAbsPoints.rbegin(); aIter != rAbsPoints.rend(); aIter++ )
+ for( aIter = rAbsPoints.rbegin(); aIter != rAbsPoints.rend(); ++aIter )
{
sal_uInt32 nPoly, nPnt;
if( GetRelativePolyPoint(maPolyPolygon,(*aIter), nPoly, nPnt) )
@@ -78,7 +78,7 @@ bool PolyPolygonEditor::SetSegmentsKind(SdrPathSegmentKind eKind, const std::set
bool bPolyPolyChanged = false;
std::set< sal_uInt16 >::const_reverse_iterator aIter;( rAbsPoints.rbegin() );
- for( aIter = rAbsPoints.rbegin(); aIter != rAbsPoints.rend(); aIter++ )
+ for( aIter = rAbsPoints.rbegin(); aIter != rAbsPoints.rend(); ++aIter )
{
sal_uInt32 nPolyNum, nPntNum;
@@ -137,7 +137,7 @@ bool PolyPolygonEditor::SetPointsSmooth( basegfx::B2VectorContinuity eFlags, con
bool bPolyPolygonChanged(false);
std::set< sal_uInt16 >::const_reverse_iterator aIter;( rAbsPoints.rbegin() );
- for( aIter = rAbsPoints.rbegin(); aIter != rAbsPoints.rend(); aIter++ )
+ for( aIter = rAbsPoints.rbegin(); aIter != rAbsPoints.rend(); ++aIter )
{
sal_uInt32 nPolyNum, nPntNum;
commit 0ede1b49a32fed67284b6ac7ff9bc58a74c43e70
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 23 13:59:36 2010 +0000
cppcheck: prefer prefix variant
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx
index 85ffaec..28dcafb 100644
--- a/xmloff/source/core/DocumentSettingsContext.cxx
+++ b/xmloff/source/core/DocumentSettingsContext.cxx
@@ -103,8 +103,8 @@ uno::Sequence<beans::PropertyValue> XMLMyList::GetSequence()
while (aItr != aProps.end())
{
*pProps = *aItr;
- pProps++;
- aItr++;
+ ++pProps;
+ ++aItr;
}
}
return aSeq;
@@ -128,7 +128,7 @@ uno::Reference<container::XNameContainer> XMLMyList::GetNameContainer()
while (aItr != aProps.end())
{
xNameContainer->insertByName(aItr->Name, aItr->Value);
- aItr++;
+ ++aItr;
}
}
}
@@ -153,8 +153,8 @@ uno::Reference<container::XIndexContainer> XMLMyList::GetIndexContainer()
while (aItr != aProps.end())
{
xIndexContainer->insertByIndex(i, aItr->Value);
- aItr++;
- i++;
+ ++aItr;
+ ++i;
}
}
}
More information about the Libreoffice-commits
mailing list