sw/source/filter/html/swhtml.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 4b3648ffaffe5b341c29e4665ca99b4da5e37ce4
Author: Caolán McNamara <caol...@redhat.com>
Date:   Fri Dec 22 21:28:02 2017 +0000

    TestImportHTML: survive std::out_of_range
    
    Change-Id: I084fd72e472bd2e647da3a80c7573280cd22bd93
    Reviewed-on: https://gerrit.libreoffice.org/46998
    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 2e22f5345037..d8b2398b7f20 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -5552,6 +5552,9 @@ bool TestImportHTML(SvStream &rStream)
     catch (const std::runtime_error&)
     {
     }
+    catch (const std::out_of_range&)
+    {
+    }
     pD->SetInReading(false);
 
     return bRet;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to