HiDPI: remove more unneeded scaling of icons

Change-Id: I521024af62ea15db80f5e851875b18dcf18556e4
Reviewed-on: https://gerrit.libreoffice.org/30380
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
This commit is contained in:
Tomaž Vajngerl 2016-10-28 23:54:19 +02:00 committed by Tomaž Vajngerl
parent 69b6ab1f8d
commit a0cf18f58f

View File

@ -551,9 +551,6 @@ void LayoutMenu::Fill()
{ {
BitmapEx aBmp(SdResId(pInfo->mnBmpResId)); BitmapEx aBmp(SdResId(pInfo->mnBmpResId));
if (GetDPIScaleFactor() > 1)
aBmp.Scale(GetDPIScaleFactor(), GetDPIScaleFactor(), BmpScaleFlag::Fast);
if (bRightToLeft && (WritingMode_TB_RL != pInfo->meWritingMode)) if (bRightToLeft && (WritingMode_TB_RL != pInfo->meWritingMode))
aBmp.Mirror (BmpMirrorFlags::Horizontal); aBmp.Mirror (BmpMirrorFlags::Horizontal);