Commits

Anonymous committed 43feab6

cmcfixes76: #i113072# redundant dereferences

  • Participants
  • Parent commits 2eb1aab

Comments (0)

Files changed (1)

slideshow/source/engine/shapes/shapeimporter.cxx

     
 	::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();