summaryrefslogtreecommitdiff
path: root/sal/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-02-09 16:24:04 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-02-09 17:51:54 +0100
commitea0d73e3e10bddda716e11b067d70fb2c9dba626 (patch)
tree42b96091b2ff7df053b5c0d860283b448faf2e51 /sal/qa
parent4440be60e43183b1761fbec38c09665b237fb01e (diff)
loplugin:fakebool followed by loplugin:implicitboolconversion (clang-cl)
Change-Id: I0f61268b2027eb617b2312615ea544387af1b381 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110643 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/qa')
-rw-r--r--sal/qa/osl/file/osl_File.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx
index b0a550b9d136..d0bc3e1c0039 100644
--- a/sal/qa/osl/file/osl_File.cxx
+++ b/sal/qa/osl/file/osl_File.cxx
@@ -411,8 +411,8 @@ static void hideFile(const OUString& filepath)
if (isURL(filepath))
osl::FileBase::getSystemPathFromFileURL(filepath, aSysPath);
- BOOL ret = SetFileAttributesW(o3tl::toW(aSysPath.getStr()), FILE_ATTRIBUTE_HIDDEN);
- CPPUNIT_ASSERT(ret != FALSE);
+ bool ret = SetFileAttributesW(o3tl::toW(aSysPath.getStr()), FILE_ATTRIBUTE_HIDDEN);
+ CPPUNIT_ASSERT(ret);
}
#endif