[Libreoffice-commits] core.git: sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Aug 12 15:13:42 UTC 2021
sw/source/filter/html/css1atr.cxx | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
New commits:
commit bdec6b189510743bea74ad85b4abff09336a547c
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Aug 12 12:31:34 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Aug 12 17:13:05 2021 +0200
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 at redhat.com>
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 )
More information about the Libreoffice-commits
mailing list