Kaydet (Commit) 598f0e26 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

don't use alpha for now in cond format OOXML colors

Change-Id: I1be02cf847b75352ef4c013265ef62a2d7af341c
üst 51d16cc6
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment