From 999136c0d0a9964b4db40123e81aaf78229d10c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 19 Jun 2021 20:59:34 +0100 Subject: [PATCH] cid#1486008 Explicit null dereferenced MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit since... commit 0771ac00acc8730f77db76b901724f1513a32723 Date: Tue Jun 15 21:12:25 2021 +0200 use string_view in the Translate API Change-Id: Icb069f3662f5899e404784909d06088d88eabd78 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117505 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sccomp/source/solver/SwarmSolver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sccomp/source/solver/SwarmSolver.cxx b/sccomp/source/solver/SwarmSolver.cxx index 515beaed0d51..5ebeedfc032c 100644 --- a/sccomp/source/solver/SwarmSolver.cxx +++ b/sccomp/source/solver/SwarmSolver.cxx @@ -233,7 +233,7 @@ public: virtual OUString SAL_CALL getPropertyDescription(const OUString& rPropertyName) override { - const char* pResId = nullptr; + const char* pResId = ""; switch (getInfoHelper().getHandleByName(rPropertyName)) { case PROP_NONNEGATIVE: