summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-29 20:31:59 +0200
committerPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-10-07 15:57:34 +0200
commitc36fbb450d340e20e4c17a057de93c87c53a15ad (patch)
tree1a7bac18be09d5fdf4c0037f5132fce65712264b /svl
parent73ec894e0d5aea6f8462c2e42d064c317d4a82ec (diff)
cppcheck scope reduction in svl/szitem.cxx
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/szitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/szitem.cxx b/svl/source/items/szitem.cxx
index 720db8f911e2..b1703d741078 100644
--- a/svl/source/items/szitem.cxx
+++ b/svl/source/items/szitem.cxx
@@ -166,11 +166,11 @@ bool SfxSizeItem::PutValue( const com::sun::star::uno::Any& rVal,
bool bRet = false;
com::sun::star::awt::Size aValue;
- sal_Int32 nVal = 0;
if ( !nMemberId )
bRet = ( rVal >>= aValue );
else
{
+ sal_Int32 nVal = 0;
bRet = ( rVal >>= nVal );
if ( nMemberId == MID_WIDTH )
{