summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-06-15 16:23:50 +0200
committerMuthu Subramanian K <sumuthu@suse.com>2012-10-13 13:36:53 +0530
commit81c3727086699e842930beb1dd9d59891125e9b3 (patch)
treef6285da449fff83db31327a01d450a05af26a33c /svx
parentf2096b28ad43ad55970060751d5cbf5d4d3c7f38 (diff)
Avoid bogus "may be used uninitialized" warning
Change-Id: Ib763b8ab1e728d400859a7abb355bba182b28684
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodraw/unoshape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 4c21d47429f0..28b00a72d909 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -4306,7 +4306,7 @@ void SvxItemPropertySet_setPropertyValue( const SvxItemPropertySet& rPropSet, co
bool bDontConvertNegativeValues = ( pMap->nWID == XATTR_FILLBMP_SIZEX || pMap->nWID == XATTR_FILLBMP_SIZEY );
if( pMap->nWID == EE_PARA_LRSPACE ) // n#757419 Don't import negative values
{
- sal_Int32 nVal;
+ sal_Int32 nVal = sal_Int32();
if( (aVal >>= nVal) && nVal < 0 )
aVal <<= ( sal_Int32 ) 0;
}