No need to check for a failed condition since the value has an init value.
This commit is contained in:
parent
ca55490e7c
commit
fe934f7e4b
1 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue