diff options
Diffstat (limited to 'filter/source/msfilter/util.cxx')
-rw-r--r-- | filter/source/msfilter/util.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/filter/source/msfilter/util.cxx b/filter/source/msfilter/util.cxx index 607791f96a1f..24603aa4d704 100644 --- a/filter/source/msfilter/util.cxx +++ b/filter/source/msfilter/util.cxx @@ -126,14 +126,11 @@ sal_Unicode bestFitOpenSymbolToMSFont(sal_Unicode cChar, } -OString ConvertColor( const Color &rColor, bool bAutoColor ) +OString ConvertColor( const Color &rColor ) { OString color( "auto" ); - if (bAutoColor && rColor.GetColor() == OOXML_COLOR_AUTO) - return color; - - if ( rColor.GetColor() != COL_AUTO ) + if ( rColor != COL_AUTO ) { const char pHexDigits[] = "0123456789ABCDEF"; char pBuffer[] = "000000"; |