diff options
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 4 |
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 |