diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-06-10 16:52:55 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-06-10 17:00:55 +0200 |
commit | 72c7b9829d86e9d9feb6ddc96b3e6a4f26d32f21 (patch) | |
tree | 7a368ac7e5392b402028f24d1e63a49d91e12d71 /editeng/source/items | |
parent | 9a5323655355a01be582a556a99e410c4064ebe4 (diff) |
Bool2Any wants to get bool instead of sal_uInt8
which is what GetTransparency() returns. Iow, do what SvxBrushItem
does :)
Change-Id: Ief65ab75d8c0955c1ec264611a70dcc693412170
Diffstat (limited to 'editeng/source/items')
-rw-r--r-- | editeng/source/items/textitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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: |