From 9a6542d6ef25ccaf78ea26e02693a6c0299b3765 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Fri, 22 Jun 2012 17:19:12 +0200 Subject: use generic names rather than specific algorithm names when scaling The Lanczos scaling is of very good quality, but it's rather slow, which can be very noticeable with large images, so it's not a very good default for everything. And in general, it's not good to refer to a specific algorithm when all one usually wants is fast/default/best. Some of these changes are a bit of a guess between default/best, but the general logic is that best should be used only for images that won't be large or where the possible waiting does not matter. Conflicts: svtools/source/graphic/grfmgr2.cxx Change-Id: I53765507ecb7ed167890f6dd05e73fe53ffd0231 --- cui/source/dialogs/cuigrfflt.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui') diff --git a/cui/source/dialogs/cuigrfflt.cxx b/cui/source/dialogs/cuigrfflt.cxx index c1b3ad4067d1..64c5896d0ac7 100644 --- a/cui/source/dialogs/cuigrfflt.cxx +++ b/cui/source/dialogs/cuigrfflt.cxx @@ -126,7 +126,7 @@ GraphicFilterDialog::GraphicFilterDialog( Window* pParent, const ResId& rResId, { BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); - if( aBmpEx.Scale( aGrfSize, BMP_SCALE_LANCZOS ) ) + if( aBmpEx.Scale( aGrfSize, BMP_SCALE_DEFAULT ) ) maGraphic = aBmpEx; } } -- cgit