summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-04-18 13:41:16 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-04-18 13:41:16 +0000
commit93b6aabfdb8c33f151aa1940c24b32ec4abff1f4 (patch)
tree52f844af215747c631be03cb8856146bb78cb96d /oox/source
parent6b8744583ad3f012e4cfb1d5f8855e17aa76907e (diff)
INTEGRATION: CWS xmlfilter04 (1.2.12); FILE MERGED
2008/02/28 11:59:32 dr 1.2.12.1: use drawingml::Color to implement Excel color tint
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/xls/headerfooterparser.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/oox/source/xls/headerfooterparser.cxx b/oox/source/xls/headerfooterparser.cxx
index b6754a547859..9a0fd993d2d1 100644
--- a/oox/source/xls/headerfooterparser.cxx
+++ b/oox/source/xls/headerfooterparser.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: headerfooterparser.cxx,v $
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
* This file is part of OpenOffice.org.
*
@@ -585,12 +585,12 @@ void HeaderFooterParserImpl::convertFontColor( const OUString& rColor )
OSL_ENSURE( rColor.getLength() == 6, "HeaderFooterParserImpl::convertFontColor - invalid font color code" );
if( (rColor[ 2 ] == '+') || (rColor[ 2 ] == '-') )
// theme color: TTSNNN (TT = decimal theme index, S = +/-, NNN = decimal tint/shade in percent)
- maFontData.maColor.set(
- XML_theme, rColor.copy( 0, 2 ).toInt32(),
+ maFontData.maColor.setTheme(
+ rColor.copy( 0, 2 ).toInt32(),
static_cast< double >( rColor.copy( 2 ).toInt32() ) / 100.0 );
else
// RGB color: RRGGBB
- maFontData.maColor.set( XML_rgb, rColor.toInt32( 16 ) );
+ maFontData.maColor.setRgb( rColor.toInt32( 16 ) );
}
void HeaderFooterParserImpl::finalizePortion()