Kaydet (Commit) 4338d2f8 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Michael Stahl

sal_Bool->bool in svl::DdeTransaction

Change-Id: I97dd4411b5293b8f61527505e54608442eb18cca
üst c2963398
...@@ -100,14 +100,14 @@ protected: ...@@ -100,14 +100,14 @@ protected:
long nTime; long nTime;
Link aData; Link aData;
Link aDone; Link aDone;
sal_Bool bBusy; bool bBusy;
DdeTransaction( DdeConnection&, SAL_UNUSED_PARAMETER const String&, SAL_UNUSED_PARAMETER long = 0 ); DdeTransaction( DdeConnection&, SAL_UNUSED_PARAMETER const String&, SAL_UNUSED_PARAMETER long = 0 );
public: public:
virtual ~DdeTransaction(); virtual ~DdeTransaction();
sal_Bool IsBusy() { return bBusy; } bool IsBusy() { return bBusy; }
const rtl::OUString GetName() const; const rtl::OUString GetName() const;
void Execute(); void Execute();
......
...@@ -85,7 +85,7 @@ HDDEDATA CALLBACK DdeInternal::CliCallback( ...@@ -85,7 +85,7 @@ HDDEDATA CALLBACK DdeInternal::CliCallback(
if( (DWORD)(*iter)->nId == nInfo1 ) if( (DWORD)(*iter)->nId == nInfo1 )
{ {
nCode = (*iter)->nType & (XCLASS_MASK | XTYP_MASK); nCode = (*iter)->nType & (XCLASS_MASK | XTYP_MASK);
(*iter)->bBusy = sal_False; (*iter)->bBusy = false;
(*iter)->Done( 0 != hData ); (*iter)->Done( 0 != hData );
bFound = sal_True; bFound = sal_True;
} }
...@@ -266,7 +266,7 @@ DdeTransaction::DdeTransaction( DdeConnection& d, const String& rItemName, ...@@ -266,7 +266,7 @@ DdeTransaction::DdeTransaction( DdeConnection& d, const String& rItemName,
nTime = n; nTime = n;
nId = 0; nId = 0;
nType = 0; nType = 0;
bBusy = sal_False; bBusy = false;
rDde.aTransactions.push_back( this ); rDde.aTransactions.push_back( this );
} }
...@@ -329,7 +329,7 @@ void DdeTransaction::Execute() ...@@ -329,7 +329,7 @@ void DdeTransaction::Execute()
if ( nId && rDde.pImp->hConv ) if ( nId && rDde.pImp->hConv )
DdeAbandonTransaction( pInst->hDdeInstCli, rDde.pImp->hConv, nId); DdeAbandonTransaction( pInst->hDdeInstCli, rDde.pImp->hConv, nId);
nId = 0; nId = 0;
bBusy = sal_True; bBusy = true;
HDDEDATA hRet = DdeClientTransaction( (unsigned char*)pData, nData, HDDEDATA hRet = DdeClientTransaction( (unsigned char*)pData, nData,
rDde.pImp->hConv, hItem, nExtFmt, rDde.pImp->hConv, hItem, nExtFmt,
(UINT)nType, TIMEOUT_ASYNC, (UINT)nType, TIMEOUT_ASYNC,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment