Kaydet (Commit) 02c14ff3 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

same problem for color scales, related tdf#90511

Change-Id: I980f42ff902da4f919a59d74b5a2834f5e601817
üst 4daf6600
......@@ -180,7 +180,7 @@ void ColorScaleRule::importColor( const AttributeList& rAttribs )
else if( rAttribs.hasAttribute( XML_theme ) )
{
sal_uInt32 nThemeIndex = rAttribs.getUnsigned( XML_theme, 0 );
nColor = getTheme().getColorByToken( nThemeIndex );
nColor = getTheme().getColorByIndex( nThemeIndex );
}
::Color aColor = RgbToRgbComponents( nColor );
......
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