diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-01 16:37:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-21 08:19:31 +0200 |
commit | ec665e3e898e733c9f602b21046079e569b58568 (patch) | |
tree | d557ec77afb9c7a19c4edf46325a403ef1a05d10 /drawinglayer | |
parent | 30d5569dcf46ddd84a85eb9bd38e18e59cfd2c9d (diff) |
use more OutputDevice::GetBitmapEx
instead of GetBitmap
Change-Id: Ib43cfaf3c91968d623e5a24f44539368da28d36f
Reviewed-on: https://gerrit.libreoffice.org/55190
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/primitive2d/controlprimitive2d.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/primitive2d/controlprimitive2d.cxx b/drawinglayer/source/primitive2d/controlprimitive2d.cxx index 29ddec7c070b..a6295406d967 100644 --- a/drawinglayer/source/primitive2d/controlprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/controlprimitive2d.cxx @@ -187,7 +187,7 @@ namespace drawinglayer xControlView->draw(0, 0); // get bitmap - const Bitmap aContent(aVirtualDevice->GetBitmap(Point(), aSizePixel)); + const BitmapEx aContent(aVirtualDevice->GetBitmapEx(Point(), aSizePixel)); // to avoid scaling, use the Bitmap pixel size as primitive size const Size aBitmapSize(aContent.GetSizePixel()); |