[Libreoffice-commits] core.git: svx/source

Caolán McNamara caolanm at redhat.com
Thu May 9 04:46:06 PDT 2013


 svx/source/gallery2/galobj.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e1e83d14c9e738da9e824ccefe254ddf74cfca9c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu May 9 12:38:07 2013 +0100

    wrong scale name
    
    Change-Id: I1be967057155c1cf4fa98cf0651a0388ef845558

diff --git a/svx/source/gallery2/galobj.cxx b/svx/source/gallery2/galobj.cxx
index 290eaec..763790a 100644
--- a/svx/source/gallery2/galobj.cxx
+++ b/svx/source/gallery2/galobj.cxx
@@ -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;


More information about the Libreoffice-commits mailing list