diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2020-01-26 10:10:07 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-26 11:38:23 +0100 |
commit | f7c3e35a9d28a1294d635f714f20933572f12e4d (patch) | |
tree | 0b9c0470f423e0ba165f1f51f31b8413baa887ec /sal/qa | |
parent | 22d2ad9135eca2a3d793cc1709148d4a5b6ec1c4 (diff) |
cppcheck: shadowFunction in sal/osl_File
Change-Id: I7d264faad080428459e499c786f25b3e06a6700b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87434
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal/qa')
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index dabe4e09e15f..32a9509dd00d 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -1088,14 +1088,14 @@ namespace osl_FileBase void searchFileURL_002() { /* search file is passed by system filename */ - OUString aRootSys = INetURLObject(aTempDirectoryURL).GetLastName(); - nError1 = osl::FileBase::searchFileURL(aTempDirectorySys, aRootSys, aUStr); + OUString strRootSys = INetURLObject(aTempDirectoryURL).GetLastName(); + nError1 = osl::FileBase::searchFileURL(aTempDirectorySys, strRootSys, aUStr); bool bOk1 = compareFileName(aUStr, aTempDirectoryURL); /* search file is passed by full qualified file URL */ - nError2 = osl::FileBase::searchFileURL(aTempDirectoryURL, aRootSys, aUStr); + nError2 = osl::FileBase::searchFileURL(aTempDirectoryURL, strRootSys, aUStr); bool bOk2 = compareFileName(aUStr, aTempDirectoryURL); /* search file is passed by relative file path */ - nError3 = osl::FileBase::searchFileURL(aRelURL5, aRootSys, aUStr); + nError3 = osl::FileBase::searchFileURL(aRelURL5, strRootSys, aUStr); bool bOk3 = compareFileName(aUStr, aTempDirectoryURL); /* search file is passed by an exist file */ createTestFile(aCanURL1); |