diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-12 16:31:19 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-12 16:31:19 +0100 |
commit | caa3d247d2ff8d34881e5fdb2edd4d153c2725c0 (patch) | |
tree | 5f7a338347960600b4aa9fb5bc30c8dfd0454f2c /sot/source/base/object.cxx | |
parent | 15e0ed81e377962c1f054d581e26d8038e50c73c (diff) |
removetooltypes01: #i112600# Exchange misleading sal_uIntPtr with sal_uLong in sot
Diffstat (limited to 'sot/source/base/object.cxx')
-rw-r--r-- | sot/source/base/object.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sot/source/base/object.cxx b/sot/source/base/object.cxx index 5ac3f7f45d87..d7530163d0b5 100644 --- a/sot/source/base/object.cxx +++ b/sot/source/base/object.cxx @@ -151,7 +151,7 @@ sal_Bool SotObject::ShouldDelete() return sal_False; } - sal_uIntPtr i; + sal_uLong i; for( i = 1; i < pAggList->Count(); i++ ) { SvAggregate & rAgg = pAggList->GetObject( i ); @@ -212,7 +212,7 @@ SvAggregateMemberList & SotObject::GetAggList() |* |* Beschreibung *************************************************************************/ -void SotObject::RemoveInterface( sal_uIntPtr nPos ) +void SotObject::RemoveInterface( sal_uLong nPos ) { SvAggregate & rAgg = pAggList->GetObject( nPos ); if( !rAgg.bFactory ) @@ -238,7 +238,7 @@ void SotObject::RemoveInterface( SotObject * pObjP ) { DBG_ASSERT( pObjP, "null pointer" ); DBG_ASSERT( pAggList, "no aggregation list" ); - sal_uIntPtr i; + sal_uLong i; for( i = 0; i < pAggList->Count(); i++ ) { SvAggregate & rAgg = pAggList->GetObject( i ); @@ -298,7 +298,7 @@ void * SotObject::DownAggCast( const SotFactory * pFact ) // geht den Pfad nur Richtung aggregierte Objekte if( pAggList ) { - for( sal_uIntPtr i = 1; !pCast || i < pAggList->Count(); i++ ) + for( sal_uLong i = 1; !pCast || i < pAggList->Count(); i++ ) { SvAggregate & rAgg = pAggList->GetObject( i ); if( rAgg.bFactory ) |