diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-12 12:31:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-12 17:13:05 +0200 |
commit | bdec6b189510743bea74ad85b4abff09336a547c (patch) | |
tree | c12fba1fbac6cab21405a25a0a7b3bc40170c820 | |
parent | 3e8231ddce6193e40026364ec7ad5fcfab86846c (diff) |
cCSS1_style_opt_end is '\"' so these two lines are the same
Change-Id: I20974698706a6b64fe6a60030364c7a8b91415a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120392
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/filter/html/css1atr.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx index e5d4f83c7bf4..fdb3c150a6a6 100644 --- a/sw/source/filter/html/css1atr.cxx +++ b/sw/source/filter/html/css1atr.cxx @@ -1805,8 +1805,8 @@ Writer& OutCSS1_TableBGStyleOpt( Writer& rWrt, const SfxPoolItem& rHt ) CSS1_OUTMODE_TABLEBOX, nullptr ); OutCSS1_SvxBrush( rWrt, rHt, Css1Background::Table, nullptr ); - if( !rHTMLWrt.m_bFirstCSS1Property ) - rWrt.Strm().WriteChar( '\"' ); + if (!rHTMLWrt.m_bFirstCSS1Property) + rWrt.Strm().WriteChar(cCSS1_style_opt_end); return rWrt; } @@ -2069,9 +2069,7 @@ void SwHTMLWriter::OutCSS1_TableCellBorderHack(SwFrameFormat const& rFrameFormat CSS1_OUTMODE_STYLE_OPT_ON|CSS1_OUTMODE_ENCODE|CSS1_OUTMODE_TABLEBOX, nullptr ); OutCSS1_SvxBox(*this, rFrameFormat.GetBox()); if (!m_bFirstCSS1Property) - { - Strm().WriteChar( cCSS1_style_opt_end ); - } + Strm().WriteChar(cCSS1_style_opt_end); } void SwHTMLWriter::OutCSS1_SectionFormatOptions( const SwFrameFormat& rFrameFormat, const SwFormatCol *pCol ) |