summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaol?n McNamara <cmc@openoffice.org>2010-07-10 20:32:56 +0100
committerCaol?n McNamara <cmc@openoffice.org>2010-07-10 20:32:56 +0100
commit81b896e98847311537011e239bf0b7d287131965 (patch)
tree46c723efb078645f668494e3b060d85253f1bb92
parent740db4e1e42f48b749e127fb260ac830086d5c8c (diff)
cmcfixes76: #i113072# redundant dereferences
Notes
Notes: split repo tag: impress_ooo/DEV300_m85
-rw-r--r--slideshow/source/engine/shapes/shapeimporter.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/shapeimporter.cxx b/slideshow/source/engine/shapes/shapeimporter.cxx
index f793dfed7e7e..1c90e45943d1 100644
--- a/slideshow/source/engine/shapes/shapeimporter.cxx
+++ b/slideshow/source/engine/shapes/shapeimporter.cxx
@@ -513,12 +513,11 @@ void ShapeImporter::importPolygons(uno::Reference<beans::XPropertySet> const& xP
::basegfx::B2DPolygon aPoly;
basegfx::B2DPoint aPoint;
- for( sal_Int32 nCurrPoly=0; nCurrPoly<pOuterSequence->getLength(); ++nCurrPoly )
+ for( sal_Int32 nCurrPoly=0; nCurrPoly<pOuterSequence->getLength(); ++nCurrPoly, ++pInnerSequence )
{
aPoint.setX((*pInnerSequence).X);
aPoint.setY((*pInnerSequence).Y);
aPoly.append( aPoint );
- *pInnerSequence++;
}
UnoViewVector::const_iterator aIter=(mrContext.mrViewContainer).begin();
UnoViewVector::const_iterator aEnd=(mrContext.mrViewContainer).end();