summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2013-12-20 14:39:02 +0100
committerJan Holesovsky <kendy@collabora.com>2013-12-20 14:39:02 +0100
commite07097cce36f1220f5574a80dc22eeabb3005261 (patch)
tree8befe80a69ff05fc08a97dc933b7817190b7ceeb /vcl
parent021df5c249c90908278d04ea80024fb235abf3e8 (diff)
hidpi: Use the default scaling algorithm.
We are not on _that_ time critical path when setting up images for the UI, so let's have at least some quality there :-) Change-Id: I0a82106b0d60ac6a543d5e55c48fc86b6d5f60b1
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/toolbox2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index af9f5f908cf9..f33a129025a3 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -1359,7 +1359,7 @@ void ToolBox::SetItemImage( sal_uInt16 nItemId, const Image& rInputImage )
//Some code calls this twice, so add a sanity check
if (aBitmap.GetSizePixel().Width() < 32)
{
- aBitmap.Scale(GetDPIScaleFactor(), GetDPIScaleFactor(), BMP_SCALE_FAST);
+ aBitmap.Scale(GetDPIScaleFactor(), GetDPIScaleFactor());
aImage = Image(aBitmap);
pImage = &aImage;
}