svx/source/unodraw/unoshape.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c2c37de076acd085e7c095a3f09aa59174ef4042 Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Jun 15 16:23:50 2012 +0200 Avoid bogus "may be used uninitialized" warning Change-Id: Ib763b8ab1e728d400859a7abb355bba182b28684 diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 4c21d47..28b00a7 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; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits