[Libreoffice-commits] core.git: sal/qa
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Sun Jan 26 10:38:59 UTC 2020
sal/qa/osl/file/osl_File.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit f7c3e35a9d28a1294d635f714f20933572f12e4d
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sun Jan 26 10:10:07 2020 +0100
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Jan 26 11:38:23 2020 +0100
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 at collabora.co.uk>
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);
More information about the Libreoffice-commits
mailing list