wrong scale name
Change-Id: I1be967057155c1cf4fa98cf0651a0388ef845558
This commit is contained in:
@@ -102,7 +102,7 @@ sal_Bool SgaObject::CreateThumb( const Graphic& rGraphic )
|
|||||||
std::max( (long) (fFactor < 1. ? S_THUMB : S_THUMB / fFactor), 8L ) );
|
std::max( (long) (fFactor < 1. ? S_THUMB : S_THUMB / fFactor), 8L ) );
|
||||||
|
|
||||||
if( aThumbBmp.Scale( (double) aNewSize.Width() / aBmpSize.Width(),
|
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 );
|
aThumbBmp.Convert( BMP_CONVERSION_8BIT_COLORS );
|
||||||
bRet = sal_True;
|
bRet = sal_True;
|
||||||
|
Reference in New Issue
Block a user