diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-07-18 16:13:19 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2018-07-19 12:18:04 +0200 |
commit | c715fd34f3c5c843e7ba6fbc781fbf76935b4509 (patch) | |
tree | 1ca8949433910f601698be837f1f9525dae580fa | |
parent | ad6bdfad8f0e32e29f1833690e19081813eb93ec (diff) |
tdf#118579 ignore body in body instead of flagging as an error
Change-Id: Ie6626a320a5264aea004f7c57244643798703de8
Reviewed-on: https://gerrit.libreoffice.org/57653
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
-rw-r--r-- | sw/source/filter/html/swhtml.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx index dbf0da0a0d5e..508bbc1a4671 100644 --- a/sw/source/filter/html/swhtml.cxx +++ b/sw/source/filter/html/swhtml.cxx @@ -1279,9 +1279,7 @@ void SwHTMLParser::NextToken( HtmlTokenId nToken ) switch( nToken ) { case HtmlTokenId::BODY_ON: - if (m_bBodySeen) - eState = SvParserState::Error; - else + if (!m_bBodySeen) { m_bBodySeen = true; if( !m_aStyleSource.isEmpty() ) |