summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
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()),