From a0cf18f58fd060dd3ef4f60ad7b17c8f8dc662dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=C5=BE=20Vajngerl?= Date: Fri, 28 Oct 2016 23:54:19 +0200 Subject: [PATCH] HiDPI: remove more unneeded scaling of icons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I521024af62ea15db80f5e851875b18dcf18556e4 Reviewed-on: https://gerrit.libreoffice.org/30380 Reviewed-by: Tomaž Vajngerl Tested-by: Tomaž Vajngerl --- sd/source/ui/sidebar/LayoutMenu.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/sd/source/ui/sidebar/LayoutMenu.cxx b/sd/source/ui/sidebar/LayoutMenu.cxx index 16ae669a4507..2bbd5131d002 100644 --- a/sd/source/ui/sidebar/LayoutMenu.cxx +++ b/sd/source/ui/sidebar/LayoutMenu.cxx @@ -551,9 +551,6 @@ void LayoutMenu::Fill() { BitmapEx aBmp(SdResId(pInfo->mnBmpResId)); - if (GetDPIScaleFactor() > 1) - aBmp.Scale(GetDPIScaleFactor(), GetDPIScaleFactor(), BmpScaleFlag::Fast); - if (bRightToLeft && (WritingMode_TB_RL != pInfo->meWritingMode)) aBmp.Mirror (BmpMirrorFlags::Horizontal);