Kaydet (Commit) 9f62089d authored tarafından erack's avatar erack Kaydeden (comit) Thorsten Behrens

impress212: #i81610# fixed animation export

# User sj <sj@openoffice.org>

 * found as LGPLv3-only fix at svn rev 1167620 (http://svn.apache.org/viewvc?view=revision&revision=1167620)
üst 2663cd34
......@@ -835,19 +835,17 @@ static Graphic ImpGetScaledGraphic( const Graphic& rGraphic, FilterConfigItem& r
aMap.SetScaleY( aFrac );
Size aOldSize = aBitmap.GetSizePixel();
aBitmap.SetPrefMapMode( aMap );
aBitmap.SetPrefSize( Size( aOldSize.Width() * 100,
aGraphic = rGraphic;
aGraphic.SetPrefMapMode( aMap );
aGraphic.SetPrefSize( Size( aOldSize.Width() * 100,
aOldSize.Height() * 100 ) );
aGraphic = Graphic( aBitmap );
}
// Groesse wird eingestellt
else if( nMode == 2 )
{
BitmapEx aBitmapEx( rGraphic.GetBitmapEx() );
aBitmapEx.SetPrefMapMode( MapMode( MAP_100TH_MM ) );
aBitmapEx.SetPrefSize( Size( nLogicalWidth, nLogicalHeight ) );
aGraphic = Graphic( aBitmapEx );
aGraphic = rGraphic;
aGraphic.SetPrefMapMode( MapMode( MAP_100TH_MM ) );
aGraphic.SetPrefSize( Size( nLogicalWidth, nLogicalHeight ) );
}
else
aGraphic = rGraphic;
......
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