diff options
Diffstat (limited to 'svx/source/items/algitem.cxx')
-rw-r--r-- | svx/source/items/algitem.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/items/algitem.cxx b/svx/source/items/algitem.cxx index f7df00afd16e..afef2e6f446c 100644 --- a/svx/source/items/algitem.cxx +++ b/svx/source/items/algitem.cxx @@ -46,12 +46,12 @@ SfxPoolItem* SvxMarginItem::CreateDefault() { return new SvxMarginItem(0) ;} SvxOrientationItem::SvxOrientationItem( const SvxCellOrientation eOrientation, const sal_uInt16 nId): - SfxEnumItem( nId, (sal_uInt16)eOrientation ) + SfxEnumItem( nId, eOrientation ) { } SvxOrientationItem::SvxOrientationItem( sal_Int32 nRotation, bool bStacked, const sal_uInt16 nId ) : - SfxEnumItem( nId ) + SfxEnumItem( nId, SvxCellOrientation::SVX_ORIENTATION_STANDARD ) { if( bStacked ) { @@ -111,7 +111,7 @@ bool SvxOrientationItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/ case table::CellOrientation_STACKED: eSvx = SVX_ORIENTATION_STACKED; break; default: ; //prevent warning } - SetValue( (sal_uInt16)eSvx ); + SetValue( eSvx ); return true; } |