diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/impldde.cxx | 12 | ||||
-rw-r--r-- | sfx2/source/appl/impldde.hxx | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/appl/impldde.cxx b/sfx2/source/appl/impldde.cxx index e7a2732a9852..d139e0653187 100644 --- a/sfx2/source/appl/impldde.cxx +++ b/sfx2/source/appl/impldde.cxx @@ -121,7 +121,7 @@ SvDDEObject::SvDDEObject() : pConnection( nullptr ), pLink( nullptr ), pRequest( nullptr ), pGetData( nullptr ) { SetUpdateTimeout( 100 ); - bWaitForData = sal_False; + bWaitForData = false; } SvDDEObject::~SvDDEObject() @@ -151,7 +151,7 @@ bool SvDDEObject::GetData( css::uno::Any & rData /*out param*/, return false; // Lock against Reentrance - bWaitForData = sal_True; + bWaitForData = true; // if you want to print, we'll wait until the data is available if( bSynchron ) @@ -166,7 +166,7 @@ bool SvDDEObject::GetData( css::uno::Any & rData /*out param*/, aReq.Execute(); } while( aReq.GetError() && ImplHasOtherFormat( aReq ) ); - bWaitForData = sal_False; + bWaitForData = false; } else { @@ -341,7 +341,7 @@ IMPL_LINK_TYPED( SvDDEObject, ImplGetDDEData, const DdeData*, pData, void ) aVal <<= aSeq; DataChanged( SotExchange::GetFormatMimeType( pData->GetFormat() ), aVal ); - bWaitForData = sal_False; + bWaitForData = false; } } } @@ -365,13 +365,13 @@ IMPL_LINK_TYPED( SvDDEObject, ImplDoneDDEData, bool, bValid, void ) } else if( pReq == pRequest ) { - bWaitForData = sal_False; + bWaitForData = false; } } } else // End waiting - bWaitForData = sal_False; + bWaitForData = false; } } diff --git a/sfx2/source/appl/impldde.hxx b/sfx2/source/appl/impldde.hxx index d3ea6781cb0f..18208cf39a09 100644 --- a/sfx2/source/appl/impldde.hxx +++ b/sfx2/source/appl/impldde.hxx @@ -40,7 +40,7 @@ class SvDDEObject : public SvLinkSource DdeRequest* pRequest; css::uno::Any * pGetData; - sal_uInt8 bWaitForData : 1; // waiting for data? + bool bWaitForData; // waiting for data? static bool ImplHasOtherFormat( DdeTransaction& ); |