From 08ab1f46b192a188935fdffbefdc9f3973583cdf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 24 Feb 2018 13:47:25 +0200 Subject: loplugin:oncevar extend to tools/gen.hxx types Change-Id: I5c75875da44334569c02e2ff039b33c38397a0a2 Reviewed-on: https://gerrit.libreoffice.org/50283 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sccomp/source/solver/SwarmSolver.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sccomp') diff --git a/sccomp/source/solver/SwarmSolver.cxx b/sccomp/source/solver/SwarmSolver.cxx index ba89367db54b..dab7b648b8c0 100644 --- a/sccomp/source/solver/SwarmSolver.cxx +++ b/sccomp/source/solver/SwarmSolver.cxx @@ -279,9 +279,8 @@ public: OUString SwarmSolver::getResourceString(const char* pId) { - OUString sString; if (!pId) - return sString; + return OUString(); return Translate::get(pId, Translate::Create("scc")); } -- cgit v1.2.3