summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unotxdoc.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-14 15:23:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-14 16:11:30 +0000
commit39b68ccf5f31dd9fe364a68bb375c1020ef05c40 (patch)
tree921b074d2fb87aea827185b5483692d72c08c126 /sw/source/uibase/uno/unotxdoc.cxx
parent9505fc0822ea28864c2773d63220a59b014d3406 (diff)
CreateBitmap takes a BitmapEx so no need to drop alpha
Change-Id: Ib0f70ea6d2a4733b16048e03d7019cf735b3b353
Diffstat (limited to 'sw/source/uibase/uno/unotxdoc.cxx')
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx2
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;
}