[Libreoffice-commits] core.git: sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Wed Apr 15 15:38:49 PDT 2015


 sc/source/filter/oox/condformatbuffer.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 02c14ff310141fea1f716d154c6c851fe3024c74
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Wed Apr 15 21:17:58 2015 +0200

    same problem for color scales, related tdf#90511
    
    Change-Id: I980f42ff902da4f919a59d74b5a2834f5e601817

diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx
index cfe4af2..1992d3c 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 );


More information about the Libreoffice-commits mailing list