summaryrefslogtreecommitdiff
path: root/editeng/inc/editeng/scripttypeitem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/inc/editeng/scripttypeitem.hxx')
-rwxr-xr-x[-rw-r--r--]editeng/inc/editeng/scripttypeitem.hxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/editeng/inc/editeng/scripttypeitem.hxx b/editeng/inc/editeng/scripttypeitem.hxx
index 9989ff4f5e..b15f171c04 100644..100755
--- a/editeng/inc/editeng/scripttypeitem.hxx
+++ b/editeng/inc/editeng/scripttypeitem.hxx
@@ -42,9 +42,9 @@
used for the user interface.
*/
-EDITENG_DLLPUBLIC USHORT GetI18NScriptTypeOfLanguage( USHORT nLang );
-USHORT GetItemScriptType( short nI18NType );
-short GetI18NScriptType( USHORT nItemType );
+EDITENG_DLLPUBLIC sal_uInt16 GetI18NScriptTypeOfLanguage( sal_uInt16 nLang );
+sal_uInt16 GetItemScriptType( short nI18NType );
+short GetI18NScriptType( sal_uInt16 nItemType );
class EDITENG_DLLPUBLIC SvxScriptTypeItem : public SfxUInt16Item
{
@@ -61,30 +61,30 @@ class EDITENG_DLLPUBLIC SvxScriptSetItem : public SfxSetItem
public:
TYPEINFO();
- SvxScriptSetItem( USHORT nSlotId, SfxItemPool& rPool );
+ SvxScriptSetItem( sal_uInt16 nSlotId, SfxItemPool& rPool );
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream &, USHORT nVersion ) const;
+ virtual SfxPoolItem* Create( SvStream &, sal_uInt16 nVersion ) const;
static const SfxPoolItem* GetItemOfScriptSet( const SfxItemSet& rSet,
- USHORT nWhich );
- inline const SfxPoolItem* GetItemOfScriptSet( USHORT _nWhich ) const
+ sal_uInt16 nWhich );
+ inline const SfxPoolItem* GetItemOfScriptSet( sal_uInt16 _nWhich ) const
{ return SvxScriptSetItem::GetItemOfScriptSet( GetItemSet(), _nWhich ); }
- static const SfxPoolItem* GetItemOfScript( USHORT nSlotId, const SfxItemSet& rSet, USHORT nScript );
+ static const SfxPoolItem* GetItemOfScript( sal_uInt16 nSlotId, const SfxItemSet& rSet, sal_uInt16 nScript );
- const SfxPoolItem* GetItemOfScript( USHORT nScript ) const;
+ const SfxPoolItem* GetItemOfScript( sal_uInt16 nScript ) const;
- void PutItemForScriptType( USHORT nScriptType, const SfxPoolItem& rItem );
+ void PutItemForScriptType( sal_uInt16 nScriptType, const SfxPoolItem& rItem );
- static void GetWhichIds( USHORT nSlotId, const SfxItemSet& rSet, USHORT& rLatin, USHORT& rAsian, USHORT& rComplex);
+ static void GetWhichIds( sal_uInt16 nSlotId, const SfxItemSet& rSet, sal_uInt16& rLatin, sal_uInt16& rAsian, sal_uInt16& rComplex);
- void GetWhichIds( USHORT& rLatin, USHORT& rAsian, USHORT& rComplex) const;
+ void GetWhichIds( sal_uInt16& rLatin, sal_uInt16& rAsian, sal_uInt16& rComplex) const;
- static void GetSlotIds( USHORT nSlotId, USHORT& rLatin, USHORT& rAsian,
- USHORT& rComplex );
- inline void GetSlotIds( USHORT& rLatin, USHORT& rAsian,
- USHORT& rComplex ) const
+ static void GetSlotIds( sal_uInt16 nSlotId, sal_uInt16& rLatin, sal_uInt16& rAsian,
+ sal_uInt16& rComplex );
+ inline void GetSlotIds( sal_uInt16& rLatin, sal_uInt16& rAsian,
+ sal_uInt16& rComplex ) const
{ GetSlotIds( Which(), rLatin, rAsian, rComplex ); }
};