summaryrefslogtreecommitdiff
path: root/sd/source/filter/html/htmlex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/html/htmlex.cxx')
-rw-r--r--sd/source/filter/html/htmlex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 1e8c666f68bb..6c6792d6c780 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -811,7 +811,7 @@ void HtmlExport::SetDocColors( SdPage* pPage )
maVLinkColor = aConfig.GetColorValue(svtools::LINKSVISITED).nColor;
maALinkColor = aConfig.GetColorValue(svtools::LINKS).nColor;
maLinkColor = aConfig.GetColorValue(svtools::LINKS).nColor;
- maTextColor = Color(COL_BLACK);
+ maTextColor = COL_BLACK;
SfxStyleSheet* pSheet = nullptr;
@@ -1422,7 +1422,7 @@ OUString HtmlExport::ParagraphToHTMLString( SdrOutliner const * pOutliner, sal_I
if(nullptr == pPara)
return OUString();
- HtmlState aState( (mbUserAttr || mbDocColors) ? maTextColor : Color(COL_BLACK) );
+ HtmlState aState( (mbUserAttr || mbDocColors) ? maTextColor : COL_BLACK );
std::vector<sal_Int32> aPortionList;
rEditEngine.GetPortions( nPara, aPortionList );