From fe934f7e4b35344f963a5e495017c22c2047376f Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 18 Jan 2011 16:04:19 -0500 Subject: [PATCH] No need to check for a failed condition since the value has an init value. --- editeng/source/items/justifyitem.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/editeng/source/items/justifyitem.cxx b/editeng/source/items/justifyitem.cxx index 19826fa9b34f..ad34db825705 100644 --- a/editeng/source/items/justifyitem.cxx +++ b/editeng/source/items/justifyitem.cxx @@ -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)