diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/activex/SOActiveX.cxx | 6 | ||||
-rw-r--r-- | extensions/source/activex/so_activex.cxx | 8 | ||||
-rw-r--r-- | extensions/source/update/check/onlinecheck.cxx | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/extensions/source/activex/SOActiveX.cxx b/extensions/source/activex/SOActiveX.cxx index 6133d61f415e..ebecf0968e85 100644 --- a/extensions/source/activex/SOActiveX.cxx +++ b/extensions/source/activex/SOActiveX.cxx @@ -212,7 +212,7 @@ HRESULT CSOActiveX::Cleanup() if( mpDispFrame ) { - BOOL bCloserActivated = FALSE; + bool bCloserActivated = FALSE; CComPtr<IDispatch> pDispDocumentCloser; CComVariant aDocCloser( L"com.sun.star.embed.DocumentCloser" ); @@ -715,8 +715,8 @@ void CSOActiveX::CallbackCreateXInputStream( CBindStatusCallback<CSOActiveX>* /* if ( mbReadyForActivation ) return; - BOOL bSuccess = FALSE; - BOOL bFinishDownload = FALSE; + bool bSuccess = FALSE; + bool bFinishDownload = FALSE; if ( !pBytes ) { // means the download is finished, dwSize contains hresult diff --git a/extensions/source/activex/so_activex.cxx b/extensions/source/activex/so_activex.cxx index d3899a4aa205..b539e2897f2d 100644 --- a/extensions/source/activex/so_activex.cxx +++ b/extensions/source/activex/so_activex.cxx @@ -287,7 +287,7 @@ static LSTATUS createKey(HKEY hkey, } EXTERN_C __declspec(dllexport) HRESULT STDAPICALLTYPE DllUnregisterServerNative( int nMode, BOOL bForAllUsers, BOOL bFor64Bit ); -static HRESULT DllRegisterServerNative_Impl( int nMode, BOOL bForAllUsers, REGSAM nKeyAccess, const wchar_t* pProgramPath, const wchar_t* pLibName ) +static HRESULT DllRegisterServerNative_Impl( int nMode, bool bForAllUsers, REGSAM nKeyAccess, const wchar_t* pProgramPath, const wchar_t* pLibName ) { char aSubKey[513]; int ind; @@ -483,7 +483,7 @@ static HRESULT DeleteKeyTree( HKEY hkey, const char* pPath, REGSAM nKeyAccess ) return REG_DELETE_KEY_A( hkey, pPath, nKeyAccess & ( KEY_WOW64_64KEY | KEY_WOW64_32KEY ) ); } -static HRESULT DllUnregisterServerNative_Impl( int nMode, BOOL bForAllUsers, REGSAM nKeyAccess ) +static HRESULT DllUnregisterServerNative_Impl( int nMode, bool bForAllUsers, REGSAM nKeyAccess ) { char aSubKey[513]; const char* aPrefix = aLocalPrefix; // bForAllUsers ? "" : aLocalPrefix; @@ -586,7 +586,7 @@ const char* const aMSMimeType[] = { "application/msword", const int nForMSModes[] = { 1, 1, 2, 2, 4, 4, 4 }; EXTERN_C __declspec(dllexport) HRESULT STDAPICALLTYPE DllUnregisterServerDoc( int nMode, BOOL bForAllUsers, BOOL bFor64Bit ); -static HRESULT DllRegisterServerDoc_Impl( int nMode, BOOL bForAllUsers, REGSAM nKeyAccess ) +static HRESULT DllRegisterServerDoc_Impl( int nMode, bool bForAllUsers, REGSAM nKeyAccess ) { char aSubKey[513]; int ind; @@ -669,7 +669,7 @@ EXTERN_C __declspec(dllexport) HRESULT STDAPICALLTYPE DllRegisterServerDoc( int // DllUnregisterServerDoc - Removes entries from the system registry -static HRESULT DllUnregisterServerDoc_Impl( int nMode, BOOL bForAllUsers, REGSAM nKeyAccess ) +static HRESULT DllUnregisterServerDoc_Impl( int nMode, bool bForAllUsers, REGSAM nKeyAccess ) { char aSubKey[513]; const char* aPrefix = aLocalPrefix; // bForAllUsers ? "" : aLocalPrefix; diff --git a/extensions/source/update/check/onlinecheck.cxx b/extensions/source/update/check/onlinecheck.cxx index 759b71f04791..af6ade879f40 100644 --- a/extensions/source/update/check/onlinecheck.cxx +++ b/extensions/source/update/check/onlinecheck.cxx @@ -33,7 +33,7 @@ extern "C" bool WNT_hasInternetConnection() WCHAR szConnectionName[1024]; __try { - BOOL fIsConnected = InternetGetConnectedStateExW( + bool fIsConnected = InternetGetConnectedStateExW( &dwFlags, szConnectionName, SAL_N_ELEMENTS(szConnectionName), |