summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-29 17:24:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-30 08:40:20 +0200
commit57722dfc48d79986aafe6874875fa20827c0136e (patch)
treef95791fad7ade7c1fb484ceef04c02db5a31e290 /test
parent86555baa2b0e7af2e1ac9f2af40781de91708375 (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 'test')
-rw-r--r--test/source/screenshot_test.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx
index 9ed30b14d98b..9afa798b6e28 100644
--- a/test/source/screenshot_test.cxx
+++ b/test/source/screenshot_test.cxx
@@ -61,7 +61,7 @@ void ScreenshotTest::setUp()
}
}
-void ScreenshotTest::implSaveScreenshot(const Bitmap& rScreenshot, const OString& rScreenshotId)
+void ScreenshotTest::implSaveScreenshot(const BitmapEx& rScreenshot, const OString& rScreenshotId)
{
OUString aDirname, aBasename;
splitHelpId(rScreenshotId, aDirname, aBasename);
@@ -87,7 +87,7 @@ void ScreenshotTest::implSaveScreenshot(const Bitmap& rScreenshot, const OString
void ScreenshotTest::saveScreenshot(VclAbstractDialog const & rDialog)
{
- const Bitmap aScreenshot(rDialog.createScreenshot());
+ const BitmapEx aScreenshot(rDialog.createScreenshot());
if (!aScreenshot.IsEmpty())
{
@@ -102,7 +102,7 @@ void ScreenshotTest::saveScreenshot(VclAbstractDialog const & rDialog)
void ScreenshotTest::saveScreenshot(Dialog& rDialog)
{
- const Bitmap aScreenshot(rDialog.createScreenshot());
+ const BitmapEx aScreenshot(rDialog.createScreenshot());
if (!aScreenshot.IsEmpty())
{