diff options
Diffstat (limited to 'sd/source/ui/view/zoomlist.cxx')
-rwxr-xr-x | sd/source/ui/view/zoomlist.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sd/source/ui/view/zoomlist.cxx b/sd/source/ui/view/zoomlist.cxx index 9ae178e3d7a6..97932bc15033 100755 --- a/sd/source/ui/view/zoomlist.cxx +++ b/sd/source/ui/view/zoomlist.cxx @@ -69,9 +69,9 @@ ZoomList::ZoomList(ViewShell* pViewShell) ZoomList::~ZoomList() { #if ( defined GCC && defined C272 ) - for (ULONG nObject=0; nObject<List::Count(); nObject++) + for (sal_uLong nObject=0; nObject<List::Count(); nObject++) #else - for (ULONG nObject=0; nObject<Count(); nObject++) + for (sal_uLong nObject=0; nObject<Count(); nObject++) #endif { // Ggf. ZoomRects loeschen @@ -88,12 +88,12 @@ ZoomList::~ZoomList() void ZoomList::InsertZoomRect(const Rectangle& rRect) { - ULONG nRectCount = Count(); + sal_uLong nRectCount = Count(); if (nRectCount >= MAX_ENTRYS) { delete ((Rectangle*) GetObject(0)); - Remove((ULONG) 0); + Remove((sal_uLong) 0); } else if (nRectCount == 0) { @@ -121,7 +121,7 @@ void ZoomList::InsertZoomRect(const Rectangle& rRect) Rectangle ZoomList::GetNextZoomRect() { mnCurPos++; - ULONG nRectCount = Count(); + sal_uLong nRectCount = Count(); if (nRectCount > 0 && mnCurPos > nRectCount - 1) { @@ -163,14 +163,14 @@ Rectangle ZoomList::GetPreviousZoomRect() |* \************************************************************************/ -BOOL ZoomList::IsNextPossible() const +sal_Bool ZoomList::IsNextPossible() const { - BOOL bPossible = FALSE; - ULONG nRectCount = Count(); + sal_Bool bPossible = sal_False; + sal_uLong nRectCount = Count(); if (nRectCount > 0 && mnCurPos < nRectCount - 1) { - bPossible = TRUE; + bPossible = sal_True; } return (bPossible); @@ -182,13 +182,13 @@ BOOL ZoomList::IsNextPossible() const |* \************************************************************************/ -BOOL ZoomList::IsPreviousPossible() const +sal_Bool ZoomList::IsPreviousPossible() const { - BOOL bPossible = FALSE; + sal_Bool bPossible = sal_False; if (mnCurPos > 0) { - bPossible = TRUE; + bPossible = sal_True; } return (bPossible); |