summaryrefslogtreecommitdiff
path: root/editeng/inc/editeng/postitem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/inc/editeng/postitem.hxx')
-rw-r--r--editeng/inc/editeng/postitem.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/editeng/inc/editeng/postitem.hxx b/editeng/inc/editeng/postitem.hxx
index 9c59aafd8b19..873f2c0d068f 100644
--- a/editeng/inc/editeng/postitem.hxx
+++ b/editeng/inc/editeng/postitem.hxx
@@ -52,7 +52,7 @@ public:
TYPEINFO();
SvxPostureItem( const FontItalic ePost /*= ITALIC_NONE*/,
- const USHORT nId );
+ const sal_uInt16 nId );
// "pure virtual Methoden" vom SfxPoolItem + SwEnumItem
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
@@ -61,17 +61,17 @@ 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 String GetValueTextByPos( USHORT nPos ) const;
- virtual USHORT GetValueCount() const;
+ virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const;
+ virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion) const;
+ virtual String GetValueTextByPos( sal_uInt16 nPos ) const;
+ virtual sal_uInt16 GetValueCount() 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 int HasBoolValue() const;
- virtual BOOL GetBoolValue() const;
- virtual void SetBoolValue( BOOL bVal );
+ virtual sal_Bool GetBoolValue() const;
+ virtual void SetBoolValue( sal_Bool bVal );
inline SvxPostureItem& operator=(const SvxPostureItem& rPost) {
SetValue( rPost.GetValue() );
@@ -82,7 +82,7 @@ public:
FontItalic GetPosture() const
{ return (FontItalic)GetValue(); }
void SetPosture( FontItalic eNew )
- { SetValue( (USHORT)eNew ); }
+ { SetValue( (sal_uInt16)eNew ); }
};
#endif // #ifndef _SVX_POSTITEM_HXX