summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-11 22:01:07 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-12 14:05:31 +0200
commit0ec327662a11554fe407c83abaf0ddbb97e73ed7 (patch)
treea0a4a7718df11e0f6482bc1f44ffa9fd9b3f5f83 /unotest
parentdb6f4c29ad2cb5cef009f78bbe6387a9e65a45a6 (diff)
WaE: C6011 Dereferencing NULL pointer warnings
Change-Id: Ieabea4a0ddf8f95ea01b8b0275be0924ad055694 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167524 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'unotest')
-rw-r--r--unotest/source/cpp/getargument.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotest/source/cpp/getargument.cxx b/unotest/source/cpp/getargument.cxx
index 22cd39fc5960..f9084c71a426 100644
--- a/unotest/source/cpp/getargument.cxx
+++ b/unotest/source/cpp/getargument.cxx
@@ -28,7 +28,7 @@ namespace test
{
bool getArgument(std::u16string_view name, OUString* value)
{
- OSL_ASSERT(value != nullptr);
+ assert(value);
return rtl::Bootstrap::get(OUString::Concat("arg-") + name, *value);
}
}