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:
parent
2db558b5a1
commit
b671bb2ea7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue