summaryrefslogtreecommitdiffstats
path: root/xmlsecurity/source/helper/xsecparser.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-06-12 14:47:53 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-13 06:53:42 +0000
commitc2d195447feb4d7f8ab6642a8d05bfb85797eb05 (patch)
treef73a00581f48043bdca2ea5af1e4889b6911c92c /xmlsecurity/source/helper/xsecparser.cxx
parentloplugin:sallogareas (diff)
downloadcore-c2d195447feb4d7f8ab6642a8d05bfb85797eb05.tar.gz
core-c2d195447feb4d7f8ab6642a8d05bfb85797eb05.zip
Convert DBG_ASSERT in xmlsecurity
Change-Id: Ideec43617ff214b7e0dcbb0a1969955b34ee19e4 Reviewed-on: https://gerrit.libreoffice.org/26196 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmlsecurity/source/helper/xsecparser.cxx')
-rw-r--r--xmlsecurity/source/helper/xsecparser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/helper/xsecparser.cxx b/xmlsecurity/source/helper/xsecparser.cxx
index 3118f3e24347..f823a7ec4e39 100644
--- a/xmlsecurity/source/helper/xsecparser.cxx
+++ b/xmlsecurity/source/helper/xsecparser.cxx
@@ -107,7 +107,7 @@ void SAL_CALL XSecParser::startElement(
else if ( aName == TAG_REFERENCE )
{
OUString ouUri = xAttribs->getValueByName(ATTR_URI);
- DBG_ASSERT( ouUri != nullptr, "URI == NULL" );
+ SAL_WARN_IF( ouUri == nullptr, "xmlsecurity", "URI == NULL" );
if (ouUri.startsWith(CHAR_FRAGMENT))
{