Kaydet (Commit) 49b78a5d authored tarafından Noel Grandin's avatar Noel Grandin

sal_Bool->bool

Change-Id: I89492db6557109623418c610f8dbbee021d1eb5a
üst c32f314d
......@@ -116,11 +116,11 @@ class ScEnginePoolHelper
protected:
SfxItemPool* pEnginePool;
SfxItemSet* pDefaults;
sal_Bool bDeleteEnginePool;
sal_Bool bDeleteDefaults;
bool bDeleteEnginePool;
bool bDeleteDefaults;
ScEnginePoolHelper( SfxItemPool* pEnginePool,
sal_Bool bDeleteEnginePool = false );
bool bDeleteEnginePool = false );
ScEnginePoolHelper( const ScEnginePoolHelper& rOrg );
virtual ~ScEnginePoolHelper();
};
......
......@@ -432,7 +432,7 @@ ScEditAttrTester::~ScEditAttrTester()
}
ScEnginePoolHelper::ScEnginePoolHelper( SfxItemPool* pEnginePoolP,
sal_Bool bDeleteEnginePoolP )
bool bDeleteEnginePoolP )
:
pEnginePool( pEnginePoolP ),
pDefaults( NULL ),
......@@ -489,7 +489,7 @@ void ScEditEngineDefaulter::SetDefaults( const SfxItemSet& rSet, sal_Bool bRemem
if ( bDeleteDefaults )
delete pDefaults;
pDefaults = new SfxItemSet( rSet );
bDeleteDefaults = sal_True;
bDeleteDefaults = true;
}
const SfxItemSet& rNewSet = bRememberCopy ? *pDefaults : rSet;
sal_Bool bUndo = IsUndoEnabled();
......@@ -523,7 +523,7 @@ void ScEditEngineDefaulter::SetDefaultItem( const SfxPoolItem& rItem )
if ( !pDefaults )
{
pDefaults = new SfxItemSet( GetEmptyItemSet() );
bDeleteDefaults = sal_True;
bDeleteDefaults = true;
}
pDefaults->Put( rItem );
SetDefaults( *pDefaults, false );
......@@ -534,7 +534,7 @@ const SfxItemSet& ScEditEngineDefaulter::GetDefaults()
if ( !pDefaults )
{
pDefaults = new SfxItemSet( GetEmptyItemSet() );
bDeleteDefaults = sal_True;
bDeleteDefaults = true;
}
return *pDefaults;
}
......
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