Kaydet (Commit) b6aeba0d authored tarafından Julien Nabet's avatar Julien Nabet

Prefix ++/-- operators for non-primitive types

Change-Id: Ie64f5393fb285431401bf3c19fc4c25c7085dd04
üst 05d470cd
......@@ -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();
......
......@@ -407,15 +407,13 @@ FlashFont& Writer::Impl_getFont( const Font& rFont )
FontMap::iterator aIter( maFonts.begin() );
const FontMap::iterator aEnd( maFonts.end() );
while( aIter != aEnd )
for(; aIter != aEnd; ++aIter)
{
const Font tempFont = (*aIter)->getFont();
if( compare_fonts_for_me(tempFont, rFont) )
{
return **aIter;
}
aIter++;
}
FlashFont* pFont = new FlashFont( rFont, createID() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment