summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-26 14:37:20 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-11-26 16:45:19 +0100
commit9f90050aa17a76adef94b4ba2568db2da1bd1b9b (patch)
tree059ed03f013271da708107f2a3782e331ce44288 /desktop
parentfa42338091ecd96b637ea52984c2642b89966f44 (diff)
loplugin:consttobool (clang-cl)
Change-Id: I81fea38cd737a8be74e6ece333ca37cc434a1c33 Reviewed-on: https://gerrit.libreoffice.org/83765 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/win32/source/loader.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/win32/source/loader.cxx b/desktop/win32/source/loader.cxx
index a64af994e268..23706de032c9 100644
--- a/desktop/win32/source/loader.cxx
+++ b/desktop/win32/source/loader.cxx
@@ -153,7 +153,7 @@ int officeloader_impl(bool bAllowConsole)
DWORD dwExitCode = DWORD(-1);
- bool fSuccess = FALSE;
+ bool fSuccess = false;
LPWSTR lpCommandLine = nullptr;
bool bFirst = true;
WCHAR cwd[MAX_PATH];
@@ -251,7 +251,7 @@ int officeloader_impl(bool bAllowConsole)
bFirst = false;
WCHAR szParentProcessId[64]; // This is more than large enough for a 128 bit decimal value
- bool bHeadlessMode(FALSE);
+ bool bHeadlessMode(false);
{
// Check command line arguments for "--headless" parameter. We only
@@ -271,7 +271,7 @@ int officeloader_impl(bool bAllowConsole)
if (0 == wcsnicmp(argv2[n], L"-headless", 9)
|| 0 == wcsnicmp(argv2[n], L"--headless", 10))
{
- bHeadlessMode = TRUE;
+ bHeadlessMode = true;
}
}
}