From ea0d73e3e10bddda716e11b067d70fb2c9dba626 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 9 Feb 2021 16:24:04 +0100 Subject: 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 --- sal/qa/osl/file/osl_File.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sal') 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 -- cgit