summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-12 14:06:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-12 15:34:49 +0100
commitb54e6db754f67c4a216c0f6d9b4a8d6315b1df16 (patch)
tree13c9e6fa6ac92ad59d7fbbf05b918e2ff4c1731e /xmloff
parent0373e37748259c80f22aa40757ee33ad71e64968 (diff)
crashtesting: remove assert in SvXMLImportContext::SvXMLImportContext
which came from commit 813118bfbb453f812be9e1a30f84908b4e0bfb51 Date: Fri Dec 20 14:34:56 2019 +0200 add checks to optional fields in SvXMLImportContext but it turns out various places abuse this field and pass stuff that is not a element name, including empty strings Change-Id: I33cfc7e44e0aafe0fdb084482a199d5cffde6a76 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88523 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlictxt.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmloff/source/core/xmlictxt.cxx b/xmloff/source/core/xmlictxt.cxx
index d3647f1faa44..c80158d02c96 100644
--- a/xmloff/source/core/xmlictxt.cxx
+++ b/xmloff/source/core/xmlictxt.cxx
@@ -34,7 +34,6 @@ SvXMLImportContext::SvXMLImportContext( SvXMLImport& rImp, sal_uInt16 nPrfx,
, maLocalName(rLName)
, mbPrefixAndLocalNameFilledIn(true)
{
- assert(!rLName.isEmpty());
}
SvXMLImportContext::SvXMLImportContext( SvXMLImport& rImp )