diff options
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r-- | sc/source/ui/app/drwtrans.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/app/transobj.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/app/drwtrans.cxx b/sc/source/ui/app/drwtrans.cxx index fab510e3e8b0..ba018efb8f53 100644 --- a/sc/source/ui/app/drwtrans.cxx +++ b/sc/source/ui/app/drwtrans.cxx @@ -427,7 +427,7 @@ sal_Bool ScDrawTransferObj::GetData( const ::com::sun::star::datatransfer::DataF if ( nFormat == SOT_FORMAT_GDIMETAFILE ) bOK = SetGDIMetaFile( aView.GetMarkedObjMetaFile(true), rFlavor ); else - bOK = SetBitmap( aView.GetMarkedObjBitmapEx(true).GetBitmap(), rFlavor ); + bOK = SetBitmapEx( aView.GetMarkedObjBitmapEx(true), rFlavor ); } else if ( nFormat == SOT_FORMATSTR_ID_SVXB ) { diff --git a/sc/source/ui/app/transobj.cxx b/sc/source/ui/app/transobj.cxx index 8d773501e93c..1fecb4992cb4 100644 --- a/sc/source/ui/app/transobj.cxx +++ b/sc/source/ui/app/transobj.cxx @@ -350,7 +350,7 @@ sal_Bool ScTransferObj::GetData( const datatransfer::DataFlavor& rFlavor ) aVirtDev.SetMapMode( MapMode( MAP_PIXEL ) ); Bitmap aBmp = aVirtDev.GetBitmap( Point(), aVirtDev.GetOutputSize() ); - bOK = SetBitmap( aBmp, rFlavor ); + bOK = SetBitmapEx( aBmp, rFlavor ); } else if ( nFormat == SOT_FORMAT_GDIMETAFILE ) { |