summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-19 21:49:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-20 08:17:00 +0100
commit12f1faf7bf7b236f54f740a9f65646749fc266ee (patch)
tree92b570339a02ac977907be12dc8e2e49291d177d /basic
parent9e183fbfdbfbe364d17f9d36a0b33d2fae89862d (diff)
svl: sal_Bool -> bool
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sb.cxx6
-rw-r--r--basic/source/classes/sbunoobj.cxx2
-rw-r--r--basic/source/classes/sbxmod.cxx6
-rw-r--r--basic/source/sbx/sbxcoll.cxx2
-rw-r--r--basic/source/sbx/sbxobj.cxx16
5 files changed, 16 insertions, 16 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index bb9569b2e2bf..cbbe3ca50ea8 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -650,7 +650,7 @@ SbClassModuleObject::SbClassModuleObject( SbModule* pClassModule )
pNewMethod->pMod = this;
pNewMethod->SetParent( this );
pMethods->PutDirect( pNewMethod, i );
- StartListening( pNewMethod->GetBroadcaster(), sal_True );
+ StartListening( pNewMethod->GetBroadcaster(), true );
}
}
}
@@ -702,7 +702,7 @@ SbClassModuleObject::SbClassModuleObject( SbModule* pClassModule )
pNewProp->ResetFlag( SBX_NO_BROADCAST ); // except the Broadcast if it was set
pProcedureProp->SetFlags( nFlags_ );
pProps->PutDirect( pNewProp, i );
- StartListening( pNewProp->GetBroadcaster(), sal_True );
+ StartListening( pNewProp->GetBroadcaster(), true );
}
else
{
@@ -1091,7 +1091,7 @@ void StarBASIC::Insert( SbxVariable* pVar )
{
pModules->Insert( pVar, pModules->Count() );
pVar->SetParent( this );
- StartListening( pVar->GetBroadcaster(), sal_True );
+ StartListening( pVar->GetBroadcaster(), true );
}
else
{
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 15d869f1a4a9..88574041a4bd 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -3546,7 +3546,7 @@ SbxVariable* SbUnoClass::Find( const OUString& rName, SbxClassType )
// Take us out as listener at once,
// the values are all constant
if( pRes->IsBroadcaster() )
- EndListening( pRes->GetBroadcaster(), sal_True );
+ EndListening( pRes->GetBroadcaster(), true );
}
}
return pRes;
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 0e90a256d4f5..b840f23c1551 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -575,7 +575,7 @@ SbMethod* SbModule::GetMethod( const OUString& rName, SbxDataType t )
pMeth->SetParent( this );
pMeth->SetFlags( SBX_READ );
pMethods->Put( pMeth, pMethods->Count() );
- StartListening( pMeth->GetBroadcaster(), sal_True );
+ StartListening( pMeth->GetBroadcaster(), true );
}
// The method is per default valid, because it could be
// created from the compiler (code generator) as well.
@@ -607,7 +607,7 @@ SbProperty* SbModule::GetProperty( const OUString& rName, SbxDataType t )
pProp->SetFlag( SBX_READWRITE );
pProp->SetParent( this );
pProps->Put( pProp, pProps->Count() );
- StartListening( pProp->GetBroadcaster(), sal_True );
+ StartListening( pProp->GetBroadcaster(), true );
}
return pProp;
}
@@ -626,7 +626,7 @@ SbProcedureProperty* SbModule::GetProcedureProperty( const OUString& rName, SbxD
pProp->SetFlag( SBX_READWRITE );
pProp->SetParent( this );
pProps->Put( pProp, pProps->Count() );
- StartListening( pProp->GetBroadcaster(), sal_True );
+ StartListening( pProp->GetBroadcaster(), true );
}
return pProp;
}
diff --git a/basic/source/sbx/sbxcoll.cxx b/basic/source/sbx/sbxcoll.cxx
index 267a252f1901..13cd64652cef 100644
--- a/basic/source/sbx/sbxcoll.cxx
+++ b/basic/source/sbx/sbxcoll.cxx
@@ -48,7 +48,7 @@ SbxCollection::SbxCollection( const OUString& rClass )
}
Initialize();
// For Access on itself
- StartListening( GetBroadcaster(), sal_True );
+ StartListening( GetBroadcaster(), true );
}
SbxCollection::SbxCollection( const SbxCollection& rColl )
diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx
index 135fcc4c069c..803efaf6fcef 100644
--- a/basic/source/sbx/sbxobj.cxx
+++ b/basic/source/sbx/sbxobj.cxx
@@ -84,7 +84,7 @@ static void CheckParentsOnDelete( SbxObject* pObj, SbxArray* p )
SbxVariableRef& rRef = p->GetRef( i );
if( rRef->IsBroadcaster() )
{
- pObj->EndListening( rRef->GetBroadcaster(), sal_True );
+ pObj->EndListening( rRef->GetBroadcaster(), true );
}
// does the element have more then one reference and still a Listener?
if( rRef->GetRefCount() > 1 )
@@ -419,7 +419,7 @@ SbxVariable* SbxObject::Make( const OUString& rName, SbxClassType ct, SbxDataTyp
pArray->Put( pVar, pArray->Count() );
SetModified( sal_True );
// The object listen always
- StartListening( pVar->GetBroadcaster(), sal_True );
+ StartListening( pVar->GetBroadcaster(), true );
Broadcast( SBX_HINT_OBJECTCHANGED );
return pVar;
}
@@ -443,7 +443,7 @@ SbxObject* SbxObject::MakeObject( const OUString& rName, const OUString& rClass
pObjs->Put( pVar, pObjs->Count() );
SetModified( sal_True );
// The object listen always
- StartListening( pVar->GetBroadcaster(), sal_True );
+ StartListening( pVar->GetBroadcaster(), true );
Broadcast( SBX_HINT_OBJECTCHANGED );
}
return pVar;
@@ -472,7 +472,7 @@ void SbxObject::Insert( SbxVariable* pVar )
{
return;
}
- EndListening( pOld->GetBroadcaster(), sal_True );
+ EndListening( pOld->GetBroadcaster(), true );
if( pVar->GetClass() == SbxCLASS_PROPERTY )
{
if( pOld == pDfltProp )
@@ -482,7 +482,7 @@ void SbxObject::Insert( SbxVariable* pVar )
}
}
}
- StartListening( pVar->GetBroadcaster(), sal_True );
+ StartListening( pVar->GetBroadcaster(), true );
pArray->Put( pVar, nIdx );
if( pVar->GetParent() != this )
{
@@ -526,7 +526,7 @@ void SbxObject::QuickInsert( SbxVariable* pVar )
}
if( pArray )
{
- StartListening( pVar->GetBroadcaster(), sal_True );
+ StartListening( pVar->GetBroadcaster(), true );
pArray->Put( pVar, pArray->Count() );
if( pVar->GetParent() != this )
{
@@ -576,7 +576,7 @@ void SbxObject::Remove( SbxVariable* pVar )
SbxVariableRef pVar_ = pArray->Get( nIdx );
if( pVar_->IsBroadcaster() )
{
- EndListening( pVar_->GetBroadcaster(), sal_True );
+ EndListening( pVar_->GetBroadcaster(), true );
}
if( (SbxVariable*) pVar_ == pDfltProp )
{
@@ -606,7 +606,7 @@ static bool LoadArray( SvStream& rStrm, SbxObject* pThis, SbxArray* pArray )
if( pVar )
{
pVar->SetParent( pThis );
- pThis->StartListening( pVar->GetBroadcaster(), sal_True );
+ pThis->StartListening( pVar->GetBroadcaster(), true );
}
}
pArray->Merge( p );