diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-06-15 16:23:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-06-15 16:23:50 +0200 |
commit | c2c37de076acd085e7c095a3f09aa59174ef4042 (patch) | |
tree | 38debb0002587d9ad87875ba13b135dec93acf9e /svx | |
parent | n#750935 fix docx import of w:evenAndOddHeaders (diff) | |
download | core-c2c37de076acd085e7c095a3f09aa59174ef4042.tar.gz core-c2c37de076acd085e7c095a3f09aa59174ef4042.zip |
Avoid bogus "may be used uninitialized" warning
Change-Id: Ib763b8ab1e728d400859a7abb355bba182b28684
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 2 |
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; } |