summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/hlmarkwn.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-25 14:21:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-25 16:56:08 +0000
commite9c17354d3cfb4f808fa2092ffcb3b9de7654dee (patch)
treeb24b7049034125b5b878ec043de31aa156abd6ee /cui/source/dialogs/hlmarkwn.cxx
parent499370e598fdf898a21ccd26544213cf9cc939fa (diff)
move Image ctor variant with mask color to callers
Change-Id: I81a52aeb855edca823881360831b26e252780053
Diffstat (limited to 'cui/source/dialogs/hlmarkwn.cxx')
-rw-r--r--cui/source/dialogs/hlmarkwn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/hlmarkwn.cxx b/cui/source/dialogs/hlmarkwn.cxx
index cd11a88df050..ca8a28276194 100644
--- a/cui/source/dialogs/hlmarkwn.cxx
+++ b/cui/source/dialogs/hlmarkwn.cxx
@@ -446,7 +446,7 @@ int SvxHlinkDlgMarkWnd::FillTree( const uno::Reference< container::XNameAccess >
uno::Reference< awt::XBitmap > aXBitmap( xTarget->getPropertyValue( aProp_LinkDisplayBitmap ), uno::UNO_QUERY );
if( aXBitmap.is() )
{
- Image aBmp( VCLUnoHelper::GetBitmap( aXBitmap ).GetBitmap(), aMaskColor );
+ Image aBmp(BitmapEx(VCLUnoHelper::GetBitmap(aXBitmap).GetBitmap(), aMaskColor));
// insert Displayname into treelist with bitmaps
pEntry = mpLbTree->InsertEntry ( aStrDisplayname,
aBmp, aBmp,