diff options
Diffstat (limited to 'sw/source/filter/html/htmlatr.cxx')
-rw-r--r-- | sw/source/filter/html/htmlatr.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx index 260ae531c1d1..de4aacd3bd1d 100644 --- a/sw/source/filter/html/htmlatr.cxx +++ b/sw/source/filter/html/htmlatr.cxx @@ -2783,11 +2783,9 @@ static Writer& OutHTML_SvxFontHeight( Writer& rWrt, const SfxPoolItem& rHt ) append(static_cast<sal_Int32>(nSize)).append("\""); rWrt.Strm() << sOut.getStr(); - if( rHTMLWrt.bCfgOutStyles && rHTMLWrt.bTxtAttr && - rHTMLWrt.aFontHeights[nSize-1] != nHeight ) + if( rHTMLWrt.bCfgOutStyles && rHTMLWrt.bTxtAttr ) { - // wenn die Groesse keiner HTML-Groesse entspricht, - // wird sie noch zusatzlich als Style-Option exportiert + // always export font size as CSS option, too OutCSS1_HintStyleOpt( rWrt, rHt ); } rWrt.Strm() << '>'; |