[Libreoffice-commits] core.git: sd/source
Tomaž Vajngerl
tomaz.vajngerl at collabora.co.uk
Sat Oct 29 21:48:35 UTC 2016
sd/source/ui/sidebar/LayoutMenu.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit a0cf18f58fd060dd3ef4f60ad7b17c8f8dc662dd
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date: Fri Oct 28 23:54:19 2016 +0200
HiDPI: remove more unneeded scaling of icons
Change-Id: I521024af62ea15db80f5e851875b18dcf18556e4
Reviewed-on: https://gerrit.libreoffice.org/30380
Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
Tested-by: Tomaž Vajngerl <quikee at gmail.com>
diff --git a/sd/source/ui/sidebar/LayoutMenu.cxx b/sd/source/ui/sidebar/LayoutMenu.cxx
index 16ae669..2bbd513 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);
More information about the Libreoffice-commits
mailing list