summaryrefslogtreecommitdiff
path: root/sc/source/filter/html/htmlexp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/html/htmlexp.cxx')
-rw-r--r--sc/source/filter/html/htmlexp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index c31dd38517a8..abb85f513d63 100644
--- a/sc/source/filter/html/htmlexp.cxx
+++ b/sc/source/filter/html/htmlexp.cxx
@@ -1136,7 +1136,7 @@ void ScHTMLExport::WriteCell( SCCOL nCol, SCROW nRow, SCTAB nTab )
Color aColor = rColorItem.GetValue();
// always export automatic text color as black
- if ( aColor.GetColor() == COL_AUTO )
+ if ( aColor == COL_AUTO )
aColor = COL_BLACK;
aStr.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_color).