summaryrefslogtreecommitdiff
path: root/sw/inc/fmtruby.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/fmtruby.hxx')
-rw-r--r--sw/inc/fmtruby.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/inc/fmtruby.hxx b/sw/inc/fmtruby.hxx
index 0e2b39fb2e5c..bee5b6a3137b 100644
--- a/sw/inc/fmtruby.hxx
+++ b/sw/inc/fmtruby.hxx
@@ -41,9 +41,9 @@ class SW_DLLPUBLIC SwFmtRuby : public SfxPoolItem
String sRubyTxt; // The ruby txt.
String sCharFmtName; // Name of the charformat.
SwTxtRuby* pTxtAttr; // The TextAttribute.
- USHORT nCharFmtId; // PoolId of the charformat.
- USHORT nPosition; // Position of the Ruby-character.
- USHORT nAdjustment; // Specific adjustment of the Ruby-ch.
+ sal_uInt16 nCharFmtId; // PoolId of the charformat.
+ sal_uInt16 nPosition; // Position of the Ruby-character.
+ sal_uInt16 nAdjustment; // Specific adjustment of the Ruby-ch.
public:
SwFmtRuby( const String& rRubyTxt );
@@ -63,9 +63,9 @@ public:
const IntlWrapper* pIntl = 0 ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal,
- BYTE nMemberId = 0 ) const;
+ sal_uInt8 nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal,
- BYTE nMemberId = 0 );
+ sal_uInt8 nMemberId = 0 );
const SwTxtRuby* GetTxtRuby() const { return pTxtAttr; }
@@ -77,14 +77,14 @@ public:
const String& GetCharFmtName() const { return sCharFmtName; }
void SetCharFmtName( const String& rNm ) { sCharFmtName = rNm; }
- USHORT GetCharFmtId() const { return nCharFmtId; }
- void SetCharFmtId( USHORT nNew ) { nCharFmtId = nNew; }
+ sal_uInt16 GetCharFmtId() const { return nCharFmtId; }
+ void SetCharFmtId( sal_uInt16 nNew ) { nCharFmtId = nNew; }
- USHORT GetPosition() const { return nPosition; }
- void SetPosition( USHORT nNew ) { nPosition = nNew; }
+ sal_uInt16 GetPosition() const { return nPosition; }
+ void SetPosition( sal_uInt16 nNew ) { nPosition = nNew; }
- USHORT GetAdjustment() const { return nAdjustment; }
- void SetAdjustment( USHORT nNew ) { nAdjustment = nNew; }
+ sal_uInt16 GetAdjustment() const { return nAdjustment; }
+ void SetAdjustment( sal_uInt16 nNew ) { nAdjustment = nNew; }
};