diff options
Diffstat (limited to 'sfx2/source/dialog/tplpitem.cxx')
-rw-r--r-- | sfx2/source/dialog/tplpitem.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/dialog/tplpitem.cxx b/sfx2/source/dialog/tplpitem.cxx index 566c379df508..774c7e44e7a7 100644 --- a/sfx2/source/dialog/tplpitem.cxx +++ b/sfx2/source/dialog/tplpitem.cxx @@ -47,9 +47,9 @@ SfxTemplateItem::SfxTemplateItem() : SfxTemplateItem::SfxTemplateItem ( - USHORT nWhichId, // Slot-ID + sal_uInt16 nWhichId, // Slot-ID const String& rStyle, // Name des aktuellen Styles - USHORT nValue // Flags f"ur das Filtern bei automatischer Anzeige + sal_uInt16 nValue // Flags f"ur das Filtern bei automatischer Anzeige ) : SfxFlagItem( nWhichId, nValue ), aStyle( rStyle ) { @@ -84,7 +84,7 @@ SfxPoolItem* SfxTemplateItem::Clone( SfxItemPool *) const } //------------------------------------------------------------------------- -sal_Bool SfxTemplateItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const +sal_Bool SfxTemplateItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ ) const { ::com::sun::star::frame::status::Template aTemplate; @@ -96,13 +96,13 @@ sal_Bool SfxTemplateItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMe } //------------------------------------------------------------------------- -sal_Bool SfxTemplateItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) +sal_Bool SfxTemplateItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ ) { ::com::sun::star::frame::status::Template aTemplate; if ( rVal >>= aTemplate ) { - SetValue( sal::static_int_cast< USHORT >( aTemplate.Value ) ); + SetValue( sal::static_int_cast< sal_uInt16 >( aTemplate.Value ) ); aStyle = aTemplate.StyleName; return sal_True; } @@ -112,9 +112,9 @@ sal_Bool SfxTemplateItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE / //------------------------------------------------------------------------- -BYTE SfxTemplateItem::GetFlagCount() const +sal_uInt8 SfxTemplateItem::GetFlagCount() const { - return sizeof(USHORT) * 8; + return sizeof(sal_uInt16) * 8; } |