From 72c7b9829d86e9d9feb6ddc96b3e6a4f26d32f21 Mon Sep 17 00:00:00 2001 From: Katarina Behrens Date: Wed, 10 Jun 2015 16:52:55 +0200 Subject: Bool2Any wants to get bool instead of sal_uInt8 which is what GetTransparency() returns. Iow, do what SvxBrushItem does :) Change-Id: Ief65ab75d8c0955c1ec264611a70dcc693412170 --- editeng/source/items/textitem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editeng') diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index d031f10548ca..0c9fbadc78d4 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -1880,7 +1880,7 @@ bool SvxBackgroundColorItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) c { case MID_GRAPHIC_TRANSPARENT: { - rVal <<= Bool2Any (aColor.GetTransparency()); + rVal <<= Bool2Any (aColor.GetTransparency() == 0xff); break; } default: -- cgit