[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Sat Jan 14 16:11:56 UTC 2017
sw/source/uibase/uno/unotxdoc.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 39b68ccf5f31dd9fe364a68bb375c1020ef05c40
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Jan 14 15:23:12 2017 +0000
CreateBitmap takes a BitmapEx so no need to drop alpha
Change-Id: Ib0f70ea6d2a4733b16048e03d7019cf735b3b353
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index d62b3f7..54d186c 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -4058,7 +4058,7 @@ static Any lcl_GetDisplayBitmap(const OUString& _sLinkSuffix)
if (nImgId)
{
- aRet <<= VCLUnoHelper::CreateBitmap(BitmapEx(SW_RES(nImgId)).GetBitmap());
+ aRet <<= VCLUnoHelper::CreateBitmap(BitmapEx(SW_RES(nImgId)));
}
return aRet;
}
More information about the Libreoffice-commits
mailing list