Kaydet (Commit) c36fbb45 authored tarafından Pierre-André Jacquod's avatar Pierre-André Jacquod

cppcheck scope reduction in svl/szitem.cxx

üst 73ec894e
...@@ -166,11 +166,11 @@ bool SfxSizeItem::PutValue( const com::sun::star::uno::Any& rVal, ...@@ -166,11 +166,11 @@ bool SfxSizeItem::PutValue( const com::sun::star::uno::Any& rVal,
bool bRet = false; bool bRet = false;
com::sun::star::awt::Size aValue; com::sun::star::awt::Size aValue;
sal_Int32 nVal = 0;
if ( !nMemberId ) if ( !nMemberId )
bRet = ( rVal >>= aValue ); bRet = ( rVal >>= aValue );
else else
{ {
sal_Int32 nVal = 0;
bRet = ( rVal >>= nVal ); bRet = ( rVal >>= nVal );
if ( nMemberId == MID_WIDTH ) if ( nMemberId == MID_WIDTH )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment