diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-08-04 14:47:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-08-04 21:38:25 +0200 |
commit | ef0815d8e19e18cc10d7078d47a04c8848668738 (patch) | |
tree | 71f1b439cbb4e5a4e479b237ce7376afc31fbdde /sal/qa | |
parent | fc7464a882f22e7974135e44867d1a183881edd9 (diff) |
loplugin:elidestringvar (clang-cl)
...plus ensuing loplugin:unnecessaryparen in vcl/source/treelist/transfer.cxx
Change-Id: I1abf2e0c589c2c124399c1337f5dd703ee7d04a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100094
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/qa')
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index dbe461ae3f53..9bf73c421d45 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -1805,8 +1805,7 @@ namespace osl_FileStatus #else // Windows version void getAttributes_004() { - OUString aUserHiddenFileURL ("file:///c:/AUTOEXEC.BAT"); - nError = DirectoryItem::get(aUserHiddenFileURL, rItem_hidden); + nError = DirectoryItem::get("file:///c:/AUTOEXEC.BAT", rItem_hidden); CPPUNIT_ASSERT_EQUAL_MESSAGE("get item fail", osl::FileBase::E_None, nError); FileStatus rFileStatus(osl_FileStatus_Mask_Attributes); nError = rItem_hidden.getFileStatus(rFileStatus); |