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>
This commit is contained in:
Caolán McNamara 2024-04-30 10:15:47 +01:00
parent 2db558b5a1
commit b671bb2ea7

View file

@ -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;