diff options
Diffstat (limited to 'filter/source/svg/svgwriter.cxx')
-rw-r--r-- | filter/source/svg/svgwriter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 441ea483898c..8a51f687ce4e 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -2458,10 +2458,10 @@ void SVGActionWriter::ImplWriteText( const Point& rPos, const OUString& rText, Color aReliefColor( COL_LIGHTGRAY ); Color aTextColor( mpVDev->GetTextColor() ); - if ( aTextColor.GetColor() == COL_BLACK ) + if ( aTextColor == COL_BLACK ) aTextColor = COL_WHITE; - if ( aTextColor.GetColor() == COL_WHITE ) + if ( aTextColor == COL_WHITE ) aReliefColor = COL_BLACK; @@ -2491,7 +2491,7 @@ void SVGActionWriter::ImplWriteText( const Point& rPos, const OUString& rText, Color aTextColor( mpVDev->GetTextColor() ); Color aShadowColor( COL_BLACK ); - if ( (aTextColor.GetColor() == COL_BLACK) || (aTextColor.GetLuminance() < 8) ) + if ( (aTextColor == COL_BLACK) || (aTextColor.GetLuminance() < 8) ) aShadowColor = COL_LIGHTGRAY; Point aPos( rPos ); |