diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-06-19 20:59:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-06-20 15:16:42 +0200 |
commit | 999136c0d0a9964b4db40123e81aaf78229d10c3 (patch) | |
tree | 103af94af486124b92d0c6f5a1f78950c70a8646 /sccomp | |
parent | 81e3d9daed06c0f1153d4d18181cf986a7f82fca (diff) |
cid#1486008 Explicit null dereferenced
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 <caolanm@redhat.com>
Diffstat (limited to 'sccomp')
-rw-r--r-- | sccomp/source/solver/SwarmSolver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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: |