codemaker/source/cppumaker/includes.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b671bb2ea72b225985eb02b275915c32ec03291c
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Tue Apr 30 10:15:47 2024 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Tue Apr 30 14:48:15 2024 +0200

    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.mcnam...@collabora.com>

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 << "
";
         *first = false;

Reply via email to