summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-03-13 16:59:35 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-03-13 17:01:34 +0100
commit60747a3ce2a80ed950f269e1a267754254b6c693 (patch)
treece06c9ecc1d5f964efb53188b977719c7660d830 /chart2
parentc219d1b932ae223d7241cac9ad8747f3ec70252a (diff)
fix transparence of bubble color
Change-Id: Ib2edf99ff4f48c12a946878740ad5d64d7deffb2
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/DummyXShape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index 39a3553af1b3..35716c3b7eb5 100644
--- a/chart2/source/view/main/DummyXShape.cxx
+++ b/chart2/source/view/main/DummyXShape.cxx
@@ -547,7 +547,7 @@ void DummyCircle::render()
if(itr != maProperties.end())
{
sal_Int32 nTrans = itr->second.get<sal_Int32>();
- nAlpha = static_cast<sal_uInt8>(nTrans & 0xFF);
+ nAlpha = 255 - static_cast<sal_uInt8>(nTrans & 0xFF);
}
itr = maProperties.find("FillColor");