diff options
Diffstat (limited to 'filter/source/flash/swfwriter.cxx')
-rw-r--r-- | filter/source/flash/swfwriter.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/source/flash/swfwriter.cxx b/filter/source/flash/swfwriter.cxx index d7b20762a8e1..1d4704b74062 100644 --- a/filter/source/flash/swfwriter.cxx +++ b/filter/source/flash/swfwriter.cxx @@ -364,10 +364,9 @@ sal_uInt16 Writer::defineShape( const GDIMetaFile& rMtf, sal_Int16 x, sal_Int16 nId = startSprite(); sal_uInt16 iDepth = 1; - while( aIter != aEnd ) + for(; aIter != aEnd; ++aIter) { placeShape( *aIter, iDepth++, x, y ); - aIter++; } endSprite(); |