summaryrefslogtreecommitdiff
path: root/extensions
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 /extensions
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 'extensions')
-rw-r--r--extensions/source/activex/SOActiveX.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/extensions/source/activex/SOActiveX.cxx b/extensions/source/activex/SOActiveX.cxx
index ebecf0968e85..2c6c4365a339 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,14 +715,14 @@ 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
- bFinishDownload = TRUE;
+ bFinishDownload = true;
if ( SUCCEEDED( dwSize ) )
- bSuccess = TRUE;
+ bSuccess = true;
}
else
{
@@ -757,7 +757,7 @@ void CSOActiveX::CallbackCreateXInputStream( CBindStatusCallback<CSOActiveX>* /*
CComVariant dummyResult;
hr = ExecuteFunc( mpDispTempFile, L"writeBytes", aArgs, 1, &dummyResult );
if( SUCCEEDED( hr ) )
- bSuccess = TRUE;
+ bSuccess = true;
}
}
}
@@ -767,7 +767,7 @@ void CSOActiveX::CallbackCreateXInputStream( CBindStatusCallback<CSOActiveX>* /*
if ( !bSuccess )
{
// the download failed, let StarOffice download
- bFinishDownload = TRUE;
+ bFinishDownload = true;
mpDispTempFile = CComPtr< IDispatch >();
}