summaryrefslogtreecommitdiff
path: root/codemaker/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-04-30 10:15:47 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-04-30 14:48:15 +0200
commitb671bb2ea72b225985eb02b275915c32ec03291c (patch)
treeb992a6a3b42a96e64bf390529a857ec15b625d2a /codemaker/source
parent2db558b5a1c01b3a08f60962c0115a34aa09bf90 (diff)
WaE: C6011 Dereferencing NULL pointer warnings
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 <caolan.mcnamara@collabora.com>
Diffstat (limited to 'codemaker/source')
-rw-r--r--codemaker/source/cppumaker/includes.cxx2
1 files changed, 1 insertions, 1 deletions
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;