diff options
author | Justin Luth <jluth@mail.com> | 2022-09-22 12:47:28 -0400 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2022-09-22 19:49:36 +0200 |
commit | f24841da29adb8c0b4a8ec1b29367ee63998d440 (patch) | |
tree | 6f4851d1d4c79db086b11d624fdd59acdc4d1e64 /sc | |
parent | 3acd80a030707b3c4795c0f828f953ac0ae24d97 (diff) |
crashtesting: "unknown cell text: element" assert on broken xml
Three invalid files are hitting this assert.
They had invalid XML, so I couldn't even
xmllint --format --recover content.xml
Removing the assert - it has outlived its usefulness.
Change-Id: I93d6d6e1d5ce53f9dd1ee46ce3881183993827c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140447
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/celltextparacontext.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/filter/xml/celltextparacontext.cxx b/sc/source/filter/xml/celltextparacontext.cxx index 5274a36f0599..b8c204dbe2d4 100644 --- a/sc/source/filter/xml/celltextparacontext.cxx +++ b/sc/source/filter/xml/celltextparacontext.cxx @@ -77,8 +77,6 @@ uno::Reference< xml::sax::XFastContextHandler > SAL_CALL ScXMLCellTextParaContex break; default: SAL_WARN("sc","unknown text element["<<nElement<<"]["<<SvXMLImport::getNameFromToken(nElement )<<"] lost"); - assert(false && "unknown cell text: element"); - ; } return nullptr; |