summaryrefslogtreecommitdiff
path: root/svtools/source/svhtml/htmlout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/svhtml/htmlout.cxx')
-rw-r--r--svtools/source/svhtml/htmlout.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx
index 6147e8cf2595..e756e5c5e316 100644
--- a/svtools/source/svhtml/htmlout.cxx
+++ b/svtools/source/svhtml/htmlout.cxx
@@ -583,7 +583,7 @@ SvStream& HTMLOutFuncs::Out_Hex( SvStream& rStream, sal_uLong nHex, sal_uInt8 nL
SvStream& HTMLOutFuncs::Out_Color( SvStream& rStream, const Color& rColor )
{
rStream.WriteCharPtr( "\"#" );
- if( rColor.GetColor() == COL_AUTO )
+ if( rColor == COL_AUTO )
{
rStream.WriteCharPtr( "000000" );
}
@@ -992,7 +992,7 @@ void HtmlWriterHelper::applyColor(HtmlWriter& rHtmlWriter, const OString &aAttri
{
OStringBuffer sBuffer;
- if( rColor.GetColor() == COL_AUTO )
+ if( rColor == COL_AUTO )
{
sBuffer.append("#000000");
}