summaryrefslogtreecommitdiff
path: root/sfx2/inc/sfx2/minstack.hxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-07 17:35:15 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-07 17:35:15 +0100
commitc5b727675460581258489d3bd569a61184ad69cd (patch)
tree6e9cb2940cb74b5cd060a57e1db0065b07b4935c /sfx2/inc/sfx2/minstack.hxx
parentdcd8e4664d9a284c24ceb0360cab0606b22cf86d (diff)
removetooltypes: #i112600# remove tooltypes
Diffstat (limited to 'sfx2/inc/sfx2/minstack.hxx')
-rw-r--r--sfx2/inc/sfx2/minstack.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sfx2/inc/sfx2/minstack.hxx b/sfx2/inc/sfx2/minstack.hxx
index c5f2f84da1d5..6b92205a7694 100644
--- a/sfx2/inc/sfx2/minstack.hxx
+++ b/sfx2/inc/sfx2/minstack.hxx
@@ -35,7 +35,7 @@ DECL_OBJARRAY( ARR##arr_, T, nI, nG ); \
class ARR: private ARR##arr_ \
{ \
public: \
- ARR( BYTE nInitSize = nI, BYTE nGrowSize = nG ): \
+ ARR( sal_uInt8 nInitSize = nI, sal_uInt8 nGrowSize = nG ): \
ARR##arr_( nInitSize, nGrowSize ) \
{} \
\
@@ -43,14 +43,14 @@ public: \
ARR##arr_( rOrig ) \
{} \
\
- USHORT Count() const { return ARR##arr_::Count(); } \
+ sal_uInt16 Count() const { return ARR##arr_::Count(); } \
void Push( const T& rElem ) { Append( rElem ); } \
- const T& Top( USHORT nLevel = 0 ) const \
+ const T& Top( sal_uInt16 nLevel = 0 ) const \
{ return (*this)[Count()-nLevel-1]; } \
const T& Bottom() const { return (*this)[0]; } \
T Pop(); \
void Clear() { ARR##arr_::Clear(); } \
- BOOL Contains( const T& rItem ) const \
+ sal_Bool Contains( const T& rItem ) const \
{ return ARR##arr_::Contains( rItem ); } \
}
@@ -68,7 +68,7 @@ DECL_PTRARRAY( ARR##arr_, T, nI, nG ) \
class ARR: private ARR##arr_ \
{ \
public: \
- ARR( BYTE nInitSize = nI, BYTE nGrowSize = nG ): \
+ ARR( sal_uInt8 nInitSize = nI, sal_uInt8 nGrowSize = nG ): \
ARR##arr_( nInitSize, nGrowSize ) \
{} \
\
@@ -76,11 +76,11 @@ public: \
ARR##arr_( rOrig ) \
{} \
\
- USHORT Count() const { return ARR##arr_::Count(); } \
+ sal_uInt16 Count() const { return ARR##arr_::Count(); } \
void Push( T rElem ) { Append( rElem ); } \
- BOOL Replace( T rOldElem, T rNewElem ) \
+ sal_Bool Replace( T rOldElem, T rNewElem ) \
{ return ARR##arr_::Replace( rOldElem, rNewElem ); } \
- T Top( USHORT nLevel = 0 ) const \
+ T Top( sal_uInt16 nLevel = 0 ) const \
{ return (*this)[Count()-nLevel-1]; } \
T Bottom() const { return (*this)[0]; } \
T Pop() \
@@ -91,7 +91,7 @@ public: \
T* operator*() \
{ return &(*this)[Count()-1]; } \
void Clear() { ARR##arr_::Clear(); } \
- BOOL Contains( const T pItem ) const \
+ sal_Bool Contains( const T pItem ) const \
{ return ARR##arr_::Contains( pItem ); } \
}