From 02c14ff310141fea1f716d154c6c851fe3024c74 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Wed, 15 Apr 2015 21:17:58 +0200 Subject: same problem for color scales, related tdf#90511 Change-Id: I980f42ff902da4f919a59d74b5a2834f5e601817 --- sc/source/filter/oox/condformatbuffer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx index cfe4af21b167..1992d3cc5131 100644 --- a/sc/source/filter/oox/condformatbuffer.cxx +++ b/sc/source/filter/oox/condformatbuffer.cxx @@ -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 ); -- cgit