summaryrefslogtreecommitdiff
path: root/svx/source/items/rotmodit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/items/rotmodit.cxx')
-rw-r--r--svx/source/items/rotmodit.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/items/rotmodit.cxx b/svx/source/items/rotmodit.cxx
index 41262a8973d4..52ab4748cb55 100644
--- a/svx/source/items/rotmodit.cxx
+++ b/svx/source/items/rotmodit.cxx
@@ -44,7 +44,7 @@ SfxPoolItem* SvxRotateModeItem::CreateDefault() { return new SvxRotateModeItem(
SvxRotateModeItem::SvxRotateModeItem( SvxRotateMode eMode, sal_uInt16 _nWhich )
- : SfxEnumItem( _nWhich, (sal_uInt16)eMode )
+ : SfxEnumItem( _nWhich, eMode )
{
}
@@ -133,7 +133,7 @@ bool SvxRotateModeItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/
case table::CellVertJustify2::BOTTOM: eSvx = SVX_ROTATE_MODE_BOTTOM; break;
default: ;//prevent warning
}
- SetValue( (sal_uInt16)eSvx );
+ SetValue( eSvx );
return true;
}