coverity#1158257 Unintended sign extension

Change-Id: I20b32255336c3efeef796df78b7af7a12dd60833
This commit is contained in:
Caolán McNamara
2014-01-25 20:25:16 +00:00
parent 04f690bc01
commit 6a52e7c94a

View File

@@ -4547,7 +4547,7 @@ void AttributeOutputBase::ParaLineSpacing( const SvxLineSpacingItem& rSpacing )
default:
break;
case SVX_LINE_SPACE_AUTO:
nSpace = (short)( ( nSpace * rSpacing.GetPropLineSpace() ) / 100L );
nSpace = (short)( ( 240L * rSpacing.GetPropLineSpace() ) / 100L );
nMulti = 1;
break;
case SVX_LINE_SPACE_FIX: