diff options
-rw-r--r-- | sc/source/filter/oox/condformatbuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |