BitmapEx->Bitmap in VCLBitmapCreator
now that Bitmap supports transparency. This code is not part of the build, so not tested. Change-Id: I22201f5aede3bc8f720a4b4721c6711dfc1ddf41 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190461 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
This commit is contained in:
@@ -54,7 +54,7 @@ uno::Reference< uno::XInterface > SAL_CALL VCLBitmapCreator::createInstance()
|
||||
throw ( uno::Exception,
|
||||
uno::RuntimeException)
|
||||
{
|
||||
BitmapEx aBitmap;
|
||||
Bitmap aBitmap;
|
||||
uno::Reference< uno::XInterface> aResult( VCLUnoHelper::CreateBitmap( aBitmap ), uno::UNO_QUERY );
|
||||
|
||||
return aResult;
|
||||
@@ -73,7 +73,7 @@ uno::Reference< uno::XInterface > SAL_CALL VCLBitmapCreator::createInstanceWithA
|
||||
if ( !( aArguments[0] >>= aOrigBitmap ) )
|
||||
throw uno::Exception(); // TODO
|
||||
|
||||
BitmapEx aBitmap;
|
||||
Bitmap aBitmap;
|
||||
SvMemoryStream aStream( aOrigBitmap.getArray(), aOrigBitmap.getLength(), StreamMode::READ );
|
||||
aStream >> aBitmap;
|
||||
if ( aStream.GetError() )
|
||||
|
||||
Reference in New Issue
Block a user