summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-14 15:50:10 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-14 16:12:08 +0000
commit6391993d1ffb5ec6ce627671eb77925a4498946f (patch)
tree407563c4df6db9dcc49c136769274b568df5ad46 /framework
parent39b68ccf5f31dd9fe364a68bb375c1020ef05c40 (diff)
move Image(Bitmap, MaskBitmap) code to last user of it
the last use looks rather dubious to me, I wonder if anything can really end up here Change-Id: I13314610405463122891b3ed0f311da65fd1d542
Diffstat (limited to 'framework')
-rw-r--r--framework/source/fwe/helper/actiontriggerhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/fwe/helper/actiontriggerhelper.cxx b/framework/source/fwe/helper/actiontriggerhelper.cxx
index 33a171b22d87..d3873f5da4a0 100644
--- a/framework/source/fwe/helper/actiontriggerhelper.cxx
+++ b/framework/source/fwe/helper/actiontriggerhelper.cxx
@@ -189,7 +189,7 @@ void InsertSubMenuItems( Menu* pSubMenu, sal_uInt16& nItemId, const Reference< X
Bitmap aMaskBitmap;
SvMemoryStream aMem( const_cast<sal_Int8 *>(aDIBSeq.getConstArray()), aDIBSeq.getLength(), StreamMode::READ );
ReadDIB(aMaskBitmap, aMem, true);
- aImage = Image( aBitmap, aMaskBitmap );
+ aImage = Image(BitmapEx(aBitmap, aMaskBitmap));
}
else
aImage = Image( aBitmap );