summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-08-10 13:03:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-08-10 16:49:53 +0200
commitf05565193971376182db41c238b617c1463bd9d7 (patch)
tree15bfcdbe47f1d6a9bf26ba230c50c84c9d956231 /sal
parent80042cc0e9786fe8dcabe0b8f106183f8df19355 (diff)
loplugin:stringconstant (macOS)
Change-Id: Icb9d9e1cd21e2506e36fe40a3b93b6a2521a868c Reviewed-on: https://gerrit.libreoffice.org/77239 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/uunxapi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/uunxapi.cxx b/sal/osl/unx/uunxapi.cxx
index d797de1c5028..f35c398cad20 100644
--- a/sal/osl/unx/uunxapi.cxx
+++ b/sal/osl/unx/uunxapi.cxx
@@ -151,7 +151,7 @@ static OString macxp_resolveAliasAndConvert(OString const & p)
{
strcpy(path, p.getStr());
macxp_resolveAlias(path, PATH_MAX);
- return OString(path);
+ return path;
}
return p;
}