svx/source/tbxctrls/tbcontrl.cxx |    8 --------
 1 file changed, 8 deletions(-)

New commits:
commit 273d0ee7b7edb24c2c9e15e9f4337f71c175801a
Author: Maxim Monastirsky <momonas...@gmail.com>
Date:   Fri Feb 9 11:22:41 2018 +0200

    tdf#107403 Don't scale frame icons twice
    
    It's already done by ImplImageTree, see loadImageFromStream
    function in ImplImageTree.cxx.
    
    Change-Id: I5aa7439876037fb0168f6c1da264af9697788ef0
    Reviewed-on: https://gerrit.libreoffice.org/49478
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Maxim Monastirsky <momonas...@gmail.com>

diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 8d6a3d9d1467..a6d0e02b5067 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1968,14 +1968,6 @@ void SvxFrameWindow_Impl::InitImageList()
     aImgVec.emplace_back(RID_SVXBMP_FRAME10);
     aImgVec.emplace_back(RID_SVXBMP_FRAME11);
     aImgVec.emplace_back(RID_SVXBMP_FRAME12);
-
-    if (GetParent()->GetDPIScaleFactor() > 1)
-    {
-        for (size_t i = 0; i < aImgVec.size(); ++i)
-        {
-            aImgVec[i].Scale(GetParent()->GetDPIScaleFactor(), 
GetParent()->GetDPIScaleFactor());
-        }
-    }
 }
 
 static Color lcl_mediumColor( Color aMain, Color /*aDefault*/ )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to