diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-14 15:23:12 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-14 16:11:30 +0000 |
commit | 39b68ccf5f31dd9fe364a68bb375c1020ef05c40 (patch) | |
tree | 921b074d2fb87aea827185b5483692d72c08c126 | |
parent | 9505fc0822ea28864c2773d63220a59b014d3406 (diff) |
CreateBitmap takes a BitmapEx so no need to drop alpha
Change-Id: Ib0f70ea6d2a4733b16048e03d7019cf735b3b353
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index d62b3f7efb48..54d186c8ce77 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; } |