diff options
Diffstat (limited to 'sd/source/ui/func/sdundogr.cxx')
-rwxr-xr-x | sd/source/ui/func/sdundogr.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sd/source/ui/func/sdundogr.cxx b/sd/source/ui/func/sdundogr.cxx index 7b7a361bba80..aa2803ddb245 100755 --- a/sd/source/ui/func/sdundogr.cxx +++ b/sd/source/ui/func/sdundogr.cxx @@ -42,8 +42,8 @@ TYPEINIT1(SdUndoGroup, SdUndoAction); SdUndoGroup::~SdUndoGroup() { - ULONG nLast = aCtn.Count(); - for (ULONG nAction = 0; nAction < nLast; nAction++) + sal_uLong nLast = aCtn.Count(); + for (sal_uLong nAction = 0; nAction < nLast; nAction++) { delete (SdUndoAction*) aCtn.GetObject(nAction); } @@ -56,9 +56,9 @@ SdUndoGroup::~SdUndoGroup() |* \************************************************************************/ -BOOL SdUndoGroup::Merge( SfxUndoAction* pNextAction ) +sal_Bool SdUndoGroup::Merge( SfxUndoAction* pNextAction ) { - BOOL bRet = FALSE; + sal_Bool bRet = sal_False; if( pNextAction && pNextAction->ISA( SdUndoAction ) ) { @@ -67,7 +67,7 @@ BOOL SdUndoGroup::Merge( SfxUndoAction* pNextAction ) if( pClone ) { AddAction( pClone ); - bRet = TRUE; + bRet = sal_True; } } @@ -85,7 +85,7 @@ void SdUndoGroup::Undo() long nLast = aCtn.Count(); for (long nAction = nLast - 1; nAction >= 0; nAction--) { - ((SdUndoAction*)aCtn.GetObject((ULONG)nAction))->Undo(); + ((SdUndoAction*)aCtn.GetObject((sal_uLong)nAction))->Undo(); } } @@ -98,8 +98,8 @@ void SdUndoGroup::Undo() void SdUndoGroup::Redo() { - ULONG nLast = aCtn.Count(); - for (ULONG nAction = 0; nAction < nLast; nAction++) + sal_uLong nLast = aCtn.Count(); + for (sal_uLong nAction = 0; nAction < nLast; nAction++) { ((SdUndoAction*)aCtn.GetObject(nAction))->Redo(); } |