From b671bb2ea72b225985eb02b275915c32ec03291c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 30 Apr 2024 10:15:47 +0100 Subject: [PATCH] WaE: C6011 Dereferencing NULL pointer warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit convert OSL_ASSERT to assert Change-Id: I047b5987734c14e05c9be89db297749c36a0a26f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166922 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- codemaker/source/cppumaker/includes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codemaker/source/cppumaker/includes.cxx b/codemaker/source/cppumaker/includes.cxx index 05f768bbc505..ec8a9ea3c8c5 100644 --- a/codemaker/source/cppumaker/includes.cxx +++ b/codemaker/source/cppumaker/includes.cxx @@ -125,7 +125,7 @@ void Includes::add(OString const & entityName) { namespace { void dumpEmptyLineBeforeFirst(FileStream & out, bool * first) { - OSL_ASSERT(first != nullptr); + assert(first != nullptr); if (*first) { out << "\n"; *first = false;