summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-30 13:02:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-31 14:08:44 +0200
commitd4442ac1ac9aae36dbc08fda8154d71ea0f81708 (patch)
tree62fdc7419391dbf8c1cd92872ba2c9e12df2c4b6 /sfx2/source
parentb7939ff897a173086643819451c7b2b4553c11c3 (diff)
drop Graphic::GetBitmap
so that we flush out various code using Bitmap, in favour of using BitmapEx. This is part of the process of making Bitmap largely an internal detail of vcl Change-Id: Iaf2ead5e3d9960838723fb55b812b97108093d74 Reviewed-on: https://gerrit.libreoffice.org/55062 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index 5e4055195eb5..5d20a0f5b0c8 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -690,7 +690,7 @@ IMPL_LINK_NOARG(FileDialogHelper_Impl, TimeOutHdl_Impl, Timer *, void)
// is responsible for placing it at its
// proper position and painting a frame
- Bitmap aBmp = maGraphic.GetBitmap();
+ BitmapEx aBmp = maGraphic.GetBitmapEx();
if ( !aBmp.IsEmpty() )
{
// scale the bitmap to the correct size
@@ -713,7 +713,7 @@ IMPL_LINK_NOARG(FileDialogHelper_Impl, TimeOutHdl_Impl, Timer *, void)
// and copy it into the Any
SvMemoryStream aData;
- WriteDIB(aBmp, aData, false, true);
+ WriteDIB(aBmp, aData, false);
const Sequence < sal_Int8 > aBuffer(
static_cast< const sal_Int8* >(aData.GetData()),