sw/source/filter/html/swhtml.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 98fdac1e1f7dcba40b1d3a1cd5662f23160a0881 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Jul 18 16:13:19 2018 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed Jul 18 22:13:26 2018 +0200 tdf#118579 ignore body in body instead of flagging as an error Change-Id: Ie6626a320a5264aea004f7c57244643798703de8 Reviewed-on: https://gerrit.libreoffice.org/57652 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> 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() ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits