summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-03 21:45:34 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-04 14:19:55 +0200
commit3752d82833f3596208f30429ca9858b9ec22f2ca (patch)
tree84adfdc613fa0bb95f9577b9409e7b7ffdf0a20b /xmlsecurity
parentfaf1c7ee2acac2d092acd899b68adf1da96f61f2 (diff)
WaE: C6011 Dereferencing NULL pointer warnings
Change-Id: I68acd56b28b0f989a4010cd939f2452970d158ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167103 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx b/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx
index 918735d3800b..724cd5f24539 100644
--- a/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx
+++ b/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx
@@ -89,7 +89,7 @@ void XMLDocumentWrapper_XmlSecImpl::getNextSAXEvent()
* NODEPOSITION_NORMAL for other SAX events;
******************************************************************************/
{
- OSL_ASSERT( m_pCurrentElement != nullptr );
+ assert(m_pCurrentElement != nullptr);
/*
* Get the next event through tree order.