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:
Noel Grandin
2025-09-01 10:43:10 +02:00
parent d8a4eb3d39
commit 15cc32ad4e
@@ -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() )