summaryrefslogtreecommitdiff
path: root/editeng/inc/editeng/crsditem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/inc/editeng/crsditem.hxx')
-rw-r--r--editeng/inc/editeng/crsditem.hxx31
1 files changed, 15 insertions, 16 deletions
diff --git a/editeng/inc/editeng/crsditem.hxx b/editeng/inc/editeng/crsditem.hxx
index 6c832f503c..2d67e5288a 100644
--- a/editeng/inc/editeng/crsditem.hxx
+++ b/editeng/inc/editeng/crsditem.hxx
@@ -42,9 +42,8 @@ namespace rtl
// class SvxCrossedOutItem -----------------------------------------------
-/*
- [Beschreibung]
- Dieses Item beschreibt, ob und wie durchstrichen ist.
+/* [Description]
+ This item describes, whether and how it is striked out.
*/
class EDITENG_DLLPUBLIC SvxCrossedOutItem : public SfxEnumItem
@@ -53,29 +52,29 @@ public:
TYPEINFO();
SvxCrossedOutItem( const FontStrikeout eSt /*= STRIKEOUT_NONE*/,
- const USHORT nId );
+ const sal_uInt16 nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
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 bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ 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 bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- // MS VC4.0 kommt durcheinander
- void SetValue( USHORT nNewVal )
+ // MS VC4.0 messes things up
+ void SetValue( sal_uInt16 nNewVal )
{SfxEnumItem::SetValue(nNewVal); }
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 SvxCrossedOutItem& operator=(const SvxCrossedOutItem& rCross)
{
@@ -87,7 +86,7 @@ public:
FontStrikeout GetStrikeout() const
{ return (FontStrikeout)GetValue(); }
void SetStrikeout( FontStrikeout eNew )
- { SetValue( (USHORT)eNew ); }
+ { SetValue( (sal_uInt16)eNew ); }
};
#endif // #ifndef _SVX_CRSDITEM_HXX