No need to check for a failed condition since the value has an init value.

This commit is contained in:
Kohei Yoshida 2011-01-18 16:04:19 -05:00
parent ca55490e7c
commit fe934f7e4b

View file

@ -317,10 +317,7 @@ bool SvxVerJustifyItem::PutValue( const uno::Any& rVal, BYTE nMemberId )
default:
{
sal_Int32 eUno = table::CellVertJustify2::STANDARD;
if(!(rVal >>= eUno))
{
eUno = table::CellVertJustify2::STANDARD;
}
rVal >>= eUno;
SvxCellVerJustify eSvx = SVX_VER_JUSTIFY_STANDARD;
switch (eUno)