diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-05-09 12:38:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-09 12:38:47 +0100 |
commit | e1e83d14c9e738da9e824ccefe254ddf74cfca9c (patch) | |
tree | f5ad6fc0c82501f431963f24c46526682b6b69eb /svx/source/gallery2 | |
parent | 9a9110b7d9e158386cd8b60867555fc0065902d1 (diff) |
wrong scale name
Change-Id: I1be967057155c1cf4fa98cf0651a0388ef845558
Diffstat (limited to 'svx/source/gallery2')
-rw-r--r-- | svx/source/gallery2/galobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/gallery2/galobj.cxx b/svx/source/gallery2/galobj.cxx index 290eaec38055..763790a15e48 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; |