summaryrefslogtreecommitdiff
path: root/svx/source/items/viewlayoutitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/items/viewlayoutitem.cxx')
-rwxr-xr-x[-rw-r--r--]svx/source/items/viewlayoutitem.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/items/viewlayoutitem.cxx b/svx/source/items/viewlayoutitem.cxx
index a56423bbf753..b1098357ae8f 100644..100755
--- a/svx/source/items/viewlayoutitem.cxx
+++ b/svx/source/items/viewlayoutitem.cxx
@@ -46,7 +46,7 @@ TYPEINIT1_FACTORY(SvxViewLayoutItem,SfxUInt16Item, new SvxViewLayoutItem);
SvxViewLayoutItem::SvxViewLayoutItem
(
- USHORT nColumns,
+ sal_uInt16 nColumns,
bool bBookMode,
sal_uInt16 _nWhich
)
@@ -112,7 +112,7 @@ int SvxViewLayoutItem::operator==( const SfxPoolItem& rAttr ) const
mbBookMode == rItem.IsBookMode() );
}
-bool SvxViewLayoutItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
+bool SvxViewLayoutItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId ) const
{
nMemberId &= ~CONVERT_TWIPS;
switch ( nMemberId )
@@ -138,7 +138,7 @@ bool SvxViewLayoutItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE nMember
return true;
}
-bool SvxViewLayoutItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId )
+bool SvxViewLayoutItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
@@ -169,7 +169,7 @@ bool SvxViewLayoutItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE nMe
if ( bAllConverted && nConvertedCount == VIEWLAYOUT_PARAMS )
{
- SetValue( (UINT16)nColumns );
+ SetValue( (sal_uInt16)nColumns );
mbBookMode = bBookMode;
return true;
}
@@ -183,7 +183,7 @@ bool SvxViewLayoutItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE nMe
sal_Int32 nVal = 0;
if ( rVal >>= nVal )
{
- SetValue( (UINT16)nVal );
+ SetValue( (sal_uInt16)nVal );
return true;
}
else