summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-16 16:47:37 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-17 06:48:22 +0200
commit598f0e26c16f18b6ea03ef1e0e6d7d9dddf6d10f (patch)
treebda9f2c37420c6b36ff09dafcb8c045a31d4155d /sc
parent51d16cc69d8ad9065f61d108ea25d6a025a2e228 (diff)
don't use alpha for now in cond format OOXML colors
Change-Id: I1be02cf847b75352ef4c013265ef62a2d7af341c
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/condformatbuffer.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx
index 927513c92029..955b304c24eb 100644
--- a/sc/source/filter/oox/condformatbuffer.cxx
+++ b/sc/source/filter/oox/condformatbuffer.cxx
@@ -164,12 +164,13 @@ namespace {
::Color ARgbToARgbComponents( sal_uInt32& nRgb )
{
- sal_Int32 ornA = 255 - ((nRgb >> 24) & 0xFF);
+ // sal_Int32 ornA = 255 - ((nRgb >> 24) & 0xFF);
+ //
sal_Int32 ornR = (nRgb >> 16) & 0xFF;
sal_Int32 ornG = (nRgb >> 8) & 0xFF;
sal_Int32 ornB = nRgb & 0xFF;
- return ::Color(ornA, ornR, ornG, ornB);
+ return ::Color(/*ornA*/ 0, ornR, ornG, ornB);
}
::Color importOOXColor(const AttributeList& rAttribs, ThemeBuffer& rThemeBuffer, GraphicHelper& rGraphicHelper)