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 --- setup_native/source/win32/customactions/sellang/sellang.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup_native/source/win32/customactions/sellang/sellang.cxx') diff --git a/setup_native/source/win32/customactions/sellang/sellang.cxx b/setup_native/source/win32/customactions/sellang/sellang.cxx index e82560f4239a..2610da36003e 100644 --- a/setup_native/source/win32/customactions/sellang/sellang.cxx +++ b/setup_native/source/win32/customactions/sellang/sellang.cxx @@ -38,7 +38,7 @@ #include -static BOOL GetMsiPropA( MSIHANDLE hMSI, const char* pPropName, char** ppValue ) +static bool GetMsiPropA( MSIHANDLE hMSI, const char* pPropName, char** ppValue ) { DWORD sz = 0; if ( MsiGetPropertyA( hMSI, pPropName, const_cast(""), &sz ) == ERROR_MORE_DATA ) { @@ -183,7 +183,7 @@ enum_ui_lang_proc (LPTSTR language, LONG_PTR /* unused_lParam */) return TRUE; } -static BOOL +static bool present_in_ui_langs(const char *lang) { for (int i = 0; i < num_ui_langs; i++) -- cgit