summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-02 12:41:26 +0200
committerNoel Grandin <noel@peralex.com>2015-11-02 12:41:26 +0200
commit253081247628923d53eccc2d027594add4e40b1f (patch)
treeabc6fabbdc8d0502e25aea906762702eba9d9b14 /sal/osl
parent5797d29e9ead0a3dd181b616dfcc968a9127012d (diff)
loplugin:stringconstant
Change-Id: Id051dd984c24fb34dcc89060ed11955fed61fd48
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/unx/file_url.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/file_url.cxx b/sal/osl/unx/file_url.cxx
index ee5f0382b6bc..45e96e72e173 100644
--- a/sal/osl/unx/file_url.cxx
+++ b/sal/osl/unx/file_url.cxx
@@ -693,7 +693,7 @@ oslFileError osl_searchFileURL(rtl_uString* ustrFilePath, rtl_uString* ustrSearc
rtl::OUString file_path;
// try to interpret search path as file url else assume it's a system path list
- rc = FileBase::getSystemPathFromFileURL(rtl::OUString(ustrFilePath), file_path);
+ rc = FileBase::getSystemPathFromFileURL(ustrFilePath, file_path);
if (FileBase::E_INVAL == rc)
file_path = ustrFilePath;
else if (FileBase::E_None != rc)