summaryrefslogtreecommitdiff
path: root/framework/source/uielement/imagebuttontoolbarcontroller.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-06-04 14:47:18 +0200
committerJan Holesovsky <kendy@suse.cz>2012-06-05 11:28:07 +0200
commit9afb6e1e38c362a768e8e981f7b03cf8bcaf22cf (patch)
tree8e4cb5afec5a83589599f0e17b2b171b67f9770f /framework/source/uielement/imagebuttontoolbarcontroller.cxx
parent6428bef05a24f22705c96f84321c1df0066c6ecb (diff)
Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.
Where we explicitly ask for better quality, use BMP_SCALE_LANCZOS, instead of BMP_SCALE_INTERPOLATE. Change-Id: I28ddf3290204532a8660e09ee9ab0949b6ce1c73
Diffstat (limited to 'framework/source/uielement/imagebuttontoolbarcontroller.cxx')
-rw-r--r--framework/source/uielement/imagebuttontoolbarcontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/imagebuttontoolbarcontroller.cxx b/framework/source/uielement/imagebuttontoolbarcontroller.cxx
index 55f82dc11332..a1a494ab4177 100644
--- a/framework/source/uielement/imagebuttontoolbarcontroller.cxx
+++ b/framework/source/uielement/imagebuttontoolbarcontroller.cxx
@@ -214,7 +214,7 @@ sal_Bool ImageButtonToolbarController::ReadImageFromURL( sal_Bool bBigImage, con
{
::Size aNoScaleSize( aBmpSize.Width(), aSize.Height() );
if ( aBmpSize != aNoScaleSize )
- aBitmapEx.Scale( aNoScaleSize, BMP_SCALE_INTERPOLATE );
+ aBitmapEx.Scale( aNoScaleSize, BMP_SCALE_LANCZOS );
aImage = Image( aBitmapEx );
return sal_True;
}