[Libreoffice-commits] core.git: editeng/source
Katarina Behrens
Katarina.Behrens at cib.de
Wed Jun 10 08:02:30 PDT 2015
editeng/source/items/textitem.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 72c7b9829d86e9d9feb6ddc96b3e6a4f26d32f21
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date: Wed Jun 10 16:52:55 2015 +0200
Bool2Any wants to get bool instead of sal_uInt8
which is what GetTransparency() returns. Iow, do what SvxBrushItem
does :)
Change-Id: Ief65ab75d8c0955c1ec264611a70dcc693412170
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index d031f10..0c9fbad 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:
More information about the Libreoffice-commits
mailing list