summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/sdundogr.cxx
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2011-01-17 11:41:00 +0100
committerCarsten Driesner <cd@openoffice.org>2011-01-17 11:41:00 +0100
commit3d6bed44c8ca414f60c03223482b9f7b94d56c14 (patch)
tree9b015da930eaf9856b5f05707245327185fff884 /sd/source/ui/func/sdundogr.cxx
parenta4babcc4a08648e99d988fca640ab555da10048c (diff)
removetooltypes01: #i112600# Remove tools types from sd
Diffstat (limited to 'sd/source/ui/func/sdundogr.cxx')
-rwxr-xr-xsd/source/ui/func/sdundogr.cxx16
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();
}