From 0dcaff6043e1f24ce0fa354dff80a86e40622247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sun, 12 May 2024 20:01:01 +0100 Subject: [PATCH] WaE: C6011 Dereferencing NULL pointer warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6d1ea7e14f5d2a75d485dae69d51cec8c2343445 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167558 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- jvmfwk/source/elements.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jvmfwk/source/elements.cxx b/jvmfwk/source/elements.cxx index 00ad1d741667..447cb49ca2da 100644 --- a/jvmfwk/source/elements.cxx +++ b/jvmfwk/source/elements.cxx @@ -784,7 +784,7 @@ void CNodeJavaInfo::writeToNode(xmlDoc* pDoc, xmlNode* pJavaInfoNode) const { - OSL_ASSERT(pJavaInfoNode && pDoc); + assert(pJavaInfoNode && pDoc); //write the attribute vendorSettings //javaInfo@vendorUpdate