summaryrefslogtreecommitdiff
path: root/toolkit/source
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 /toolkit/source
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 'toolkit/source')
-rw-r--r--toolkit/source/awt/vclxmenu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx
index d45d5dc25066..c629d6708a6b 100644
--- a/toolkit/source/awt/vclxmenu.cxx
+++ b/toolkit/source/awt/vclxmenu.cxx
@@ -680,7 +680,7 @@ namespace
sal_Bool bModified( sal_False );
BitmapEx aBitmapEx = aImage.GetBitmapEx();
- bModified = aBitmapEx.Scale( aNewSize, BMP_SCALE_INTERPOLATE );
+ bModified = aBitmapEx.Scale( aNewSize, BMP_SCALE_LANCZOS );
if ( bModified )
aImage = Image( aBitmapEx );