Kaydet (Commit) 72c7b982 authored tarafından Katarina Behrens's avatar Katarina Behrens

Bool2Any wants to get bool instead of sal_uInt8

which is what GetTransparency() returns. Iow, do what SvxBrushItem
does :)

Change-Id: Ief65ab75d8c0955c1ec264611a70dcc693412170
üst 9a532365
...@@ -1880,7 +1880,7 @@ bool SvxBackgroundColorItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) c ...@@ -1880,7 +1880,7 @@ bool SvxBackgroundColorItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) c
{ {
case MID_GRAPHIC_TRANSPARENT: case MID_GRAPHIC_TRANSPARENT:
{ {
rVal <<= Bool2Any (aColor.GetTransparency()); rVal <<= Bool2Any (aColor.GetTransparency() == 0xff);
break; break;
} }
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment