summaryrefslogtreecommitdiff
path: root/ucbhelper
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 /ucbhelper
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 'ucbhelper')
-rw-r--r--ucbhelper/source/client/proxydecider.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucbhelper/source/client/proxydecider.cxx b/ucbhelper/source/client/proxydecider.cxx
index e80fa5b708f6..b56ffbf76d71 100644
--- a/ucbhelper/source/client/proxydecider.cxx
+++ b/ucbhelper/source/client/proxydecider.cxx
@@ -490,7 +490,7 @@ DWORD WINAPI GetPACProxyThread(_In_ LPVOID lpParameter)
// autologon prevents caching, and so causes repetitive network traffic.
AutoProxyOptions.fAutoLogonIfChallenged = FALSE;
WINHTTP_PROXY_INFO ProxyInfo{};
- BOOL bResult
+ bool bResult
= WinHttpGetProxyForUrl(hInternet, o3tl::toW(url.getStr()), &AutoProxyOptions, &ProxyInfo);
nError = GetLastError();
if (!bResult && nError == ERROR_WINHTTP_LOGIN_FAILURE)
@@ -540,7 +540,7 @@ InternetProxyServer GetPACProxy(const OUString& rProtocol, const OUString& rHost
// if configured to do so
{
WINHTTP_CURRENT_USER_IE_PROXY_CONFIG aProxyConfig{};
- BOOL bResult = WinHttpGetIEProxyConfigForCurrentUser(&aProxyConfig);
+ bool bResult = WinHttpGetIEProxyConfigForCurrentUser(&aProxyConfig);
if (aProxyConfig.lpszProxy)
GlobalFree(aProxyConfig.lpszProxy);
if (aProxyConfig.lpszProxyBypass)