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: