summaryrefslogtreecommitdiff
path: root/editeng/inc/editeng/tstpitem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/inc/editeng/tstpitem.hxx')
-rw-r--r--editeng/inc/editeng/tstpitem.hxx38
1 files changed, 19 insertions, 19 deletions
diff --git a/editeng/inc/editeng/tstpitem.hxx b/editeng/inc/editeng/tstpitem.hxx
index 887258c20f4f..d3554607b79c 100644
--- a/editeng/inc/editeng/tstpitem.hxx
+++ b/editeng/inc/editeng/tstpitem.hxx
@@ -83,7 +83,7 @@ public:
String GetValueString() const;
// das "alte" operator==()
- BOOL IsEqual( const SvxTabStop& rTS ) const
+ sal_Bool IsEqual( const SvxTabStop& rTS ) const
{
return ( nTabPos == rTS.nTabPos &&
eAdjustment == rTS.eAdjustment &&
@@ -92,9 +92,9 @@ public:
}
// Fuer das SortedArray:
- BOOL operator==( const SvxTabStop& rTS ) const
+ sal_Bool operator==( const SvxTabStop& rTS ) const
{ return nTabPos == rTS.nTabPos; }
- BOOL operator <( const SvxTabStop& rTS ) const
+ sal_Bool operator <( const SvxTabStop& rTS ) const
{ return nTabPos < rTS.nTabPos; }
SvxTabStop& operator=( const SvxTabStop& rTS )
@@ -123,27 +123,27 @@ class EDITENG_DLLPUBLIC SvxTabStopItem : public SfxPoolItem, private SvxTabStopA
public:
TYPEINFO();
- SvxTabStopItem( USHORT nWhich );
- SvxTabStopItem( const USHORT nTabs,
- const USHORT nDist,
+ SvxTabStopItem( sal_uInt16 nWhich );
+ SvxTabStopItem( const sal_uInt16 nTabs,
+ const sal_uInt16 nDist,
const SvxTabAdjust eAdjst /*= SVX_TAB_ADJUST_DEFAULT*/,
- USHORT nWhich );
+ sal_uInt16 nWhich );
SvxTabStopItem( const SvxTabStopItem& rTSI );
// Liefert Index-Position des Tabs zurueck oder TAB_NOTFOUND
- USHORT GetPos( const SvxTabStop& rTab ) const;
+ sal_uInt16 GetPos( const SvxTabStop& rTab ) const;
// Liefert Index-Position des Tabs an nPos zurueck oder TAB_NOTFOUND
- USHORT GetPos( const long nPos ) const;
+ sal_uInt16 GetPos( const long nPos ) const;
// entprivatisiert:
- USHORT Count() const { return SvxTabStopArr::Count(); }
- BOOL Insert( const SvxTabStop& rTab );
- void Insert( const SvxTabStopItem* pTabs, USHORT nStart = 0,
- USHORT nEnd = USHRT_MAX );
+ sal_uInt16 Count() const { return SvxTabStopArr::Count(); }
+ sal_Bool Insert( const SvxTabStop& rTab );
+ void Insert( const SvxTabStopItem* pTabs, sal_uInt16 nStart = 0,
+ sal_uInt16 nEnd = USHRT_MAX );
void Remove( SvxTabStop& rTab )
{ SvxTabStopArr::Remove( rTab ); }
- void Remove( const USHORT nPos, const USHORT nLen = 1 )
+ void Remove( const sal_uInt16 nPos, const sal_uInt16 nLen = 1 )
{ SvxTabStopArr::Remove( nPos, nLen ); }
// Zuweisungsoperator, Gleichheitsoperator (vorsicht: teuer!)
@@ -154,7 +154,7 @@ public:
// { return !( operator==( rTSI ) ); }
// SortedArrays liefern nur Stackobjekte zurueck!
- const SvxTabStop& operator[]( const USHORT nPos ) const
+ const SvxTabStop& operator[]( const sal_uInt16 nPos ) const
{
DBG_ASSERT( GetStart() &&
nPos < Count(), "op[]" );
@@ -165,8 +165,8 @@ public:
// "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
- virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
@@ -174,8 +174,8 @@ public:
String &rText, const IntlWrapper * = 0 ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream&, USHORT ) const;
- virtual SvStream& Store( SvStream& , USHORT nItemVersion ) const;
+ virtual SfxPoolItem* Create( SvStream&, sal_uInt16 ) const;
+ virtual SvStream& Store( SvStream& , sal_uInt16 nItemVersion ) const;
using SvxTabStopArr::Insert;
using SvxTabStopArr::Remove;