diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-09 16:21:54 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-10 18:24:33 -0600 |
commit | 3e2f1601278b9e079230566712c40820dbd81fce (patch) | |
tree | 6cbb8f4b8ad589abbf765d5a8d799e157b9163ac /vcl | |
parent | 3047ac5c1f9966592ea1f73be919e47c7fd0db64 (diff) |
fast scale doubling of biptmap mess up mac retina
Change-Id: Ib39dd0048266483c385551a2f8f9f9629ea2ff66
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/toolbox2.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index 3fc9e3e85d83..9f6a1afc8b20 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -1379,19 +1379,6 @@ void ToolBox::SetItemImage( sal_uInt16 nItemId, const Image& rImage ) { Image aImage(rImage); - if ( GetDPIScaleFactor() > 1) - { - BitmapEx aBitmap(aImage.GetBitmapEx()); - - // Some code calls this twice, so add a sanity check - // FIXME find out what that code is & fix accordingly - if (aBitmap.GetSizePixel().Width() < 32) - { - aBitmap.Scale(GetDPIScaleFactor(), GetDPIScaleFactor(), BMP_SCALE_FAST); - aImage = Image(aBitmap); - } - } - ImplToolItem* pItem = &mpData->m_aItems[nPos]; // Nur wenn alles berechnet ist, mehr Aufwand treiben if ( !mbCalc ) |