From 5a11fe87a6f1507149a0965aa740dcdf4ccef3c3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 19 Nov 2019 15:15:50 +0100 Subject: 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 --- comphelper/source/windows/windows_process.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/windows/windows_process.cxx b/comphelper/source/windows/windows_process.cxx index f334cfc4ffbe..7588bae027e5 100644 --- a/comphelper/source/windows/windows_process.cxx +++ b/comphelper/source/windows/windows_process.cxx @@ -22,9 +22,9 @@ static int ArgStrLen(const wchar_t *s) { int i = wcslen(s); - BOOL hasDoubleQuote = wcschr(s, L'"') != nullptr; + bool hasDoubleQuote = wcschr(s, L'"') != nullptr; // Only add doublequotes if the string contains a space or a tab - BOOL addDoubleQuotes = wcspbrk(s, L" \t") != nullptr; + bool addDoubleQuotes = wcspbrk(s, L" \t") != nullptr; if (addDoubleQuotes) { @@ -69,9 +69,9 @@ static int ArgStrLen(const wchar_t *s) */ static wchar_t* ArgToString(wchar_t *d, const wchar_t *s) { - BOOL hasDoubleQuote = wcschr(s, L'"') != nullptr; + bool hasDoubleQuote = wcschr(s, L'"') != nullptr; // Only add doublequotes if the string contains a space or a tab - BOOL addDoubleQuotes = wcspbrk(s, L" \t") != nullptr; + bool addDoubleQuotes = wcspbrk(s, L" \t") != nullptr; if (addDoubleQuotes) { @@ -171,7 +171,7 @@ WinLaunchChild(const wchar_t *exePath, HANDLE *hProcess) { wchar_t *cl; - BOOL ok; + bool ok; cl = MakeCommandLine(argc, argv); if (!cl) -- cgit istro/cib/libreoffice-6-3'>distro/cib/libreoffice-6-3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/libpng
AgeCommit message (Expand)Author
2012-02-14Added READMEs for some library modules which didn't have themJosh Heidenreich