summaryrefslogtreecommitdiff
path: root/sd/source/ui/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-31 17:00:49 +0200
committerMichael Meeks <michael.meeks@collabora.com>2018-06-01 11:14:43 +0200
commit36ad2b13371a24d99dcec16a60b48d895e0228aa (patch)
tree1d1cc5e345438e7a05db93f1ceebb2786d1735bf /sd/source/ui/tools
parent6c4135416f79aebf02afa58d6d125f5c175b34d7 (diff)
drop Image(Bitmap) constructor
and convert some more code from Bitmap to BitmapEx Change-Id: Icf3c18608e0bb608408fe69722441cfa19f6b161 Reviewed-on: https://gerrit.libreoffice.org/55160 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sd/source/ui/tools')
-rw-r--r--sd/source/ui/tools/PreviewRenderer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/tools/PreviewRenderer.cxx b/sd/source/ui/tools/PreviewRenderer.cxx
index 76f980e0f60c..83812ebbe69a 100644
--- a/sd/source/ui/tools/PreviewRenderer.cxx
+++ b/sd/source/ui/tools/PreviewRenderer.cxx
@@ -120,7 +120,7 @@ Image PreviewRenderer::RenderPage (
PaintFrame();
Size aSize (mpPreviewDevice->GetOutputSizePixel());
- aPreview = Image(mpPreviewDevice->GetBitmap (
+ aPreview = Image(mpPreviewDevice->GetBitmapEx(
mpPreviewDevice->PixelToLogic(Point(0,0)),
mpPreviewDevice->PixelToLogic(aSize)));
@@ -182,7 +182,7 @@ Image PreviewRenderer::RenderSubstitution (
PaintFrame();
const Size aSize (mpPreviewDevice->GetOutputSizePixel());
- aPreview = Image(mpPreviewDevice->GetBitmap(
+ aPreview = Image(mpPreviewDevice->GetBitmapEx(
mpPreviewDevice->PixelToLogic(Point(0,0)),
mpPreviewDevice->PixelToLogic(aSize)));
}
@@ -456,7 +456,7 @@ Image PreviewRenderer::ScaleBitmap (
aScaledBitmap.GetBitmap());
// Get the resulting bitmap.
- aPreview = Image(mpPreviewDevice->GetBitmap(Point(0,0), aFrameSize));
+ aPreview = Image(mpPreviewDevice->GetBitmapEx(Point(0,0), aFrameSize));
}
while (false);