1. mst
  2. ooo340

Commits

Caol?n McNamara  committed 43feab6

cmcfixes76: #i113072# redundant dereferences

  • Participants
  • Parent commits 2eb1aab
  • Branches default

Comments (0)

Files changed (1)

File slideshow/source/engine/shapes/shapeimporter.cxx

View file
  • Ignore whitespace
     
 	::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();