diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-15 21:17:58 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-16 00:36:42 +0200 |
commit | 02c14ff310141fea1f716d154c6c851fe3024c74 (patch) | |
tree | c95bc9c103eb636a288497e0e14567f957d18ac5 /sc | |
parent | 4daf6600a3f5c1d58ff1c79396f05d3ea5cb7103 (diff) |
same problem for color scales, related tdf#90511
Change-Id: I980f42ff902da4f919a59d74b5a2834f5e601817
Diffstat (limited to 'sc')
-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 ); |