wrong scale name

Change-Id: I1be967057155c1cf4fa98cf0651a0388ef845558
This commit is contained in:
Caolán McNamara 2013-05-09 12:38:07 +01:00
parent 9a9110b7d9
commit e1e83d14c9

View File

@ -102,7 +102,7 @@ sal_Bool SgaObject::CreateThumb( const Graphic& rGraphic )
std::max( (long) (fFactor < 1. ? S_THUMB : S_THUMB / fFactor), 8L ) );
if( aThumbBmp.Scale( (double) aNewSize.Width() / aBmpSize.Width(),
(double) aNewSize.Height() / aBmpSize.Height(), BMP_SCALE_BESTQUALITY ) )
(double) aNewSize.Height() / aBmpSize.Height(), BMP_SCALE_BEST ) )
{
aThumbBmp.Convert( BMP_CONVERSION_8BIT_COLORS );
bRet = sal_True;