diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-29 17:24:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-30 08:40:20 +0200 |
commit | 57722dfc48d79986aafe6874875fa20827c0136e (patch) | |
tree | f95791fad7ade7c1fb484ceef04c02db5a31e290 /vcl | |
parent | 86555baa2b0e7af2e1ac9f2af40781de91708375 (diff) |
use BitmapEx in the screenshot stuff
part of the process of moving Bitmap usage to BitmapEx
Change-Id: I4f02f8aa60d19a3639d623a998491447adf79e15
Reviewed-on: https://gerrit.libreoffice.org/55031
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/abstdlg.cxx | 6 | ||||
-rw-r--r-- | vcl/source/window/dialog.cxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/window/abstdlg.cxx b/vcl/source/window/abstdlg.cxx index 267df9e097ad..0483d789aecb 100644 --- a/vcl/source/window/abstdlg.cxx +++ b/vcl/source/window/abstdlg.cxx @@ -22,7 +22,7 @@ #include <rtl/ustring.hxx> #include <osl/module.hxx> #include <vcl/abstdlg.hxx> -#include <vcl/bitmap.hxx> +#include <vcl/bitmapex.hxx> typedef VclAbstractDialogFactory* (*FuncPtrCreateDialogFactory)(); @@ -76,10 +76,10 @@ bool VclAbstractDialog::selectPageByUIXMLDescription(const OString& /*rUIXMLDesc return true; } -Bitmap VclAbstractDialog::createScreenshot() const +BitmapEx VclAbstractDialog::createScreenshot() const { // default returns empty bitmap - return Bitmap(); + return BitmapEx(); } // virtual diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index c29227d86b25..00040af4aeb9 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -965,7 +965,7 @@ void Dialog::ensureRepaint() } } -Bitmap Dialog::createScreenshot() +BitmapEx Dialog::createScreenshot() { // same prerequisites as in Execute() setDeferredProperties(); @@ -974,7 +974,7 @@ Bitmap Dialog::createScreenshot() ToTop(); ensureRepaint(); - return GetBitmap(Point(), GetOutputSizePixel()); + return GetBitmapEx(Point(), GetOutputSizePixel()); } short Dialog::Execute() |