diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-03-17 09:39:27 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-03-17 09:41:00 +0100 |
commit | 030a9bfd42184c868bcc61b91af58f70b1c02677 (patch) | |
tree | 6af328b732db98934b526c4154256b1134df1173 /chart2 | |
parent | 217731165a0d8ee512919dcb9ecec296c6ee4b4c (diff) |
fix another wrong transparency calculation
Change-Id: I963e6c69f34f07f797dd98810195fd58e79e494f
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/main/DummyXShape.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx index 9f79dd3494a6..e0b5f21de765 100644 --- a/chart2/source/view/main/DummyXShape.cxx +++ b/chart2/source/view/main/DummyXShape.cxx @@ -741,7 +741,7 @@ void DummyRectangle::render() if(itr != maProperties.end()) { uno::Any al = itr->second; - nAlpha = al.get<sal_Int32>(); + nAlpha = 255 - al.get<sal_Int32>()/100.0*255; } pChart->m_GLRender.SetBackGroundColor(nColorValue, nColorValue, nAlpha); } |