diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-26 13:47:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-28 13:46:26 +0200 |
commit | c1e31ee0433232104c73cfa56e24e056833213dc (patch) | |
tree | 077e5e728519e030baba1d2f3e7e5e4a81f13aca /dbaccess/source/ui/misc/HtmlReader.cxx | |
parent | 616d47dbbea2ee39e1936e987b26a0d2095f0906 (diff) |
loplugin:virtualdead in dbaccess
Change-Id: I030283816185f42f9012c8dfb2d745164abd7234
Reviewed-on: https://gerrit.libreoffice.org/79644
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/misc/HtmlReader.cxx')
-rw-r--r-- | dbaccess/source/ui/misc/HtmlReader.cxx | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/dbaccess/source/ui/misc/HtmlReader.cxx b/dbaccess/source/ui/misc/HtmlReader.cxx index 3dc3c38b558b..310361483932 100644 --- a/dbaccess/source/ui/misc/HtmlReader.cxx +++ b/dbaccess/source/ui/misc/HtmlReader.cxx @@ -156,19 +156,7 @@ void OHTMLReader::NextToken( HtmlTokenId nToken ) } break; case HtmlTokenId::TABLEROW_ON: - if ( m_pUpdateHelper.get() ) - { - try - { - m_pUpdateHelper->moveToInsertRow(); // otherwise append new line - } - catch(SQLException& e) - // handling update failure - { - showErrorDialog(e); - } - } - else + if ( !m_pUpdateHelper.get() ) m_bError = true; break; case HtmlTokenId::TEXTTOKEN: |