diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 20:25:16 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 20:56:31 +0000 |
commit | 6a52e7c94a09e285abff08a59f43ba8231f70af1 (patch) | |
tree | 563e9cccffed2eea6750174217e86aff3c5ce1e6 | |
parent | 04f690bc01a95c74a9f480ba18ede81c4fe689e5 (diff) |
coverity#1158257 Unintended sign extension
Change-Id: I20b32255336c3efeef796df78b7af7a12dd60833
-rw-r--r-- | sw/source/filter/ww8/ww8atr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx index 82a05c56da7e..c20dac1f3c4b 100644 --- a/sw/source/filter/ww8/ww8atr.cxx +++ b/sw/source/filter/ww8/ww8atr.cxx @@ -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: |