[Libreoffice-commits] .: writerfilter/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Fri Jun 1 16:42:35 PDT 2012
writerfilter/source/dmapper/WrapPolygonHandler.cxx | 6 +++---
writerfilter/source/resourcemodel/XPathLogger.cxx | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 80d5a21acb6db619eb9bd67a1ed9dcdf937c389f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Jun 2 01:41:01 2012 +0200
Fix some Prefer prefix ++/--
Change-Id: Ief7279a06ffbdd0e23fac28f8948daea4023823c
diff --git a/writerfilter/source/dmapper/WrapPolygonHandler.cxx b/writerfilter/source/dmapper/WrapPolygonHandler.cxx
index dd3e168..8d6682a 100644
--- a/writerfilter/source/dmapper/WrapPolygonHandler.cxx
+++ b/writerfilter/source/dmapper/WrapPolygonHandler.cxx
@@ -90,7 +90,7 @@ WrapPolygon::Pointer_t WrapPolygon::move(const awt::Point & rPoint)
{
awt::Point aPoint(aIt->X + rPoint.X, aIt->Y + rPoint.Y);
pResult->addPoint(aPoint);
- aIt++;
+ ++aIt;
}
return pResult;
@@ -107,7 +107,7 @@ WrapPolygon::Pointer_t WrapPolygon::scale(const Fraction & rFractionX, const Fra
{
awt::Point aPoint(Fraction(aIt->X) * rFractionX, Fraction(aIt->Y) * rFractionY);
pResult->addPoint(aPoint);
- aIt++;
+ ++aIt;
}
return pResult;
@@ -149,7 +149,7 @@ drawing::PointSequenceSequence WrapPolygon::getPointSequenceSequence() const
{
(*pPolygon)[n] = *aIt;
++n;
- aIt++;
+ ++aIt;
}
return aPolyPolygon;
diff --git a/writerfilter/source/resourcemodel/XPathLogger.cxx b/writerfilter/source/resourcemodel/XPathLogger.cxx
index 8f2d2f0..4333b98 100644
--- a/writerfilter/source/resourcemodel/XPathLogger.cxx
+++ b/writerfilter/source/resourcemodel/XPathLogger.cxx
@@ -53,7 +53,7 @@ void XPathLogger::updateCurrentPath()
for (vector<string>::const_iterator aIt = m_path.begin();
aIt != m_path.end();
- aIt++)
+ ++aIt)
{
if (m_currentPath.size() > 0)
m_currentPath += "/";
More information about the Libreoffice-commits
mailing list