summaryrefslogtreecommitdiff
path: root/shell/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-19 15:15:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-11-19 21:34:30 +0100
commit5a11fe87a6f1507149a0965aa740dcdf4ccef3c3 (patch)
tree3f3e788a0e54c94e980bd61e4466d4d6e2c34415 /shell/qa
parent77d301f5e40e4f0fb4a127b8b6361a0fb1b1dbd9 (diff)
loplugin:fakebool (clang-cl)
...plus follow-up loplugin:implicitboolconversion and loplugin:redundantcast Change-Id: I9fc9c5cb46fbb50da87ff80af64cb0dfda3e5f90 Reviewed-on: https://gerrit.libreoffice.org/83207 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell/qa')
-rw-r--r--shell/qa/zip/ziptest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/qa/zip/ziptest.cxx b/shell/qa/zip/ziptest.cxx
index f76acf7c916c..7af18912abd2 100644
--- a/shell/qa/zip/ziptest.cxx
+++ b/shell/qa/zip/ziptest.cxx
@@ -76,7 +76,7 @@ Test::Test() : documentName(), pStream(nullptr)
LPVOID pvData = GlobalLock(hGlobal);
DWORD dwBytesRead = 0;
- BOOL bRead = ReadFile(hFile, pvData, dwFileSize, &dwBytesRead, nullptr);
+ bool bRead = ReadFile(hFile, pvData, dwFileSize, &dwBytesRead, nullptr);
CPPUNIT_ASSERT_MESSAGE("FileStream: ReadFile error.", bRead);
GlobalUnlock(hGlobal);
CloseHandle(hFile);