summaryrefslogtreecommitdiff
path: root/sot/source/base/object.cxx
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2011-01-12 16:31:19 +0100
committerCarsten Driesner <cd@openoffice.org>2011-01-12 16:31:19 +0100
commitcaa3d247d2ff8d34881e5fdb2edd4d153c2725c0 (patch)
tree5f7a338347960600b4aa9fb5bc30c8dfd0454f2c /sot/source/base/object.cxx
parent15e0ed81e377962c1f054d581e26d8038e50c73c (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.cxx8
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 )