diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2018-02-09 11:22:41 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2018-02-10 23:07:18 +0100 |
commit | 273d0ee7b7edb24c2c9e15e9f4337f71c175801a (patch) | |
tree | bc554bf8787d5abd2fbae7b76ade0fbcd5237993 /svx/source | |
parent | d6a2dc03806c4e7c0be8e4f2aee272f036f4765e (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
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*/ ) |