summaryrefslogtreecommitdiff
path: root/editeng/source/items/writingmodeitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/items/writingmodeitem.cxx')
-rw-r--r--editeng/source/items/writingmodeitem.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/editeng/source/items/writingmodeitem.cxx b/editeng/source/items/writingmodeitem.cxx
index 13c8ec32c9d2..e65ba8df5d05 100644
--- a/editeng/source/items/writingmodeitem.cxx
+++ b/editeng/source/items/writingmodeitem.cxx
@@ -42,7 +42,7 @@ using namespace ::com::sun::star::text;
TYPEINIT1_FACTORY(SvxWritingModeItem, SfxUInt16Item, new SvxWritingModeItem(com::sun::star::text::WritingMode_LR_TB, 0));
-SvxWritingModeItem::SvxWritingModeItem( WritingMode eValue, USHORT _nWhich )
+SvxWritingModeItem::SvxWritingModeItem( WritingMode eValue, sal_uInt16 _nWhich )
: SfxUInt16Item( _nWhich, (sal_uInt16)eValue )
{
}
@@ -63,19 +63,19 @@ SfxPoolItem* SvxWritingModeItem::Clone( SfxItemPool * ) const
return new SvxWritingModeItem( *this );
}
-SfxPoolItem* SvxWritingModeItem::Create( SvStream & , USHORT ) const
+SfxPoolItem* SvxWritingModeItem::Create( SvStream & , sal_uInt16 ) const
{
DBG_ERROR("SvxWritingModeItem should not be streamed!");
return NULL;
}
-SvStream& SvxWritingModeItem::Store( SvStream & rStrm, USHORT ) const
+SvStream& SvxWritingModeItem::Store( SvStream & rStrm, sal_uInt16 ) const
{
DBG_ERROR("SvxWritingModeItem should not be streamed!");
return rStrm;
}
-USHORT SvxWritingModeItem::GetVersion( USHORT /*nFVer*/ ) const
+sal_uInt16 SvxWritingModeItem::GetVersion( sal_uInt16 /*nFVer*/ ) const
{
return USHRT_MAX;
}
@@ -104,7 +104,7 @@ SfxItemPresentation SvxWritingModeItem::GetPresentation( SfxItemPresentation ePr
return eRet;
}
-sal_Bool SvxWritingModeItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE )
+sal_Bool SvxWritingModeItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 )
{
sal_Int32 nVal = 0;
sal_Bool bRet = ( rVal >>= nVal );
@@ -140,7 +140,7 @@ sal_Bool SvxWritingModeItem::PutValue( const com::sun::star::uno::Any& rVal, BYT
}
sal_Bool SvxWritingModeItem::QueryValue( com::sun::star::uno::Any& rVal,
- BYTE ) const
+ sal_uInt8 ) const
{
rVal <<= (WritingMode)GetValue();
return true;