Kaydet (Commit) 5f50fcf9 authored tarafından Julien Nabet's avatar Julien Nabet Kaydeden (comit) Tomáš Chvátal

coverity#735373 Copy-paste error

Change-Id: I0273a08a7aa23aa9bb7aa2139a0cea02611e8feb
Reviewed-on: https://gerrit.libreoffice.org/2797Reviewed-by: 's avatarJoren De Cuyper <joren.libreoffice@telenet.be>
Reviewed-by: 's avatarTomáš Chvátal <tchvatal@suse.cz>
Tested-by: 's avatarTomáš Chvátal <tchvatal@suse.cz>
üst 8948fcde
...@@ -2259,7 +2259,7 @@ bool SvxBoxItem::ScaleMetrics( long nMult, long nDiv ) ...@@ -2259,7 +2259,7 @@ bool SvxBoxItem::ScaleMetrics( long nMult, long nDiv )
if ( pTop ) pTop->ScaleMetrics( nMult, nDiv ); if ( pTop ) pTop->ScaleMetrics( nMult, nDiv );
if ( pBottom ) pBottom->ScaleMetrics( nMult, nDiv ); if ( pBottom ) pBottom->ScaleMetrics( nMult, nDiv );
if ( pLeft ) pLeft->ScaleMetrics( nMult, nDiv ); if ( pLeft ) pLeft->ScaleMetrics( nMult, nDiv );
if ( pRight ) pBottom->ScaleMetrics( nMult, nDiv ); if ( pRight ) pRight->ScaleMetrics( nMult, nDiv );
nTopDist = (sal_uInt16)Scale( nTopDist, nMult, nDiv ); nTopDist = (sal_uInt16)Scale( nTopDist, nMult, nDiv );
nBottomDist = (sal_uInt16)Scale( nBottomDist, nMult, nDiv ); nBottomDist = (sal_uInt16)Scale( nBottomDist, nMult, nDiv );
nLeftDist = (sal_uInt16)Scale( nLeftDist, nMult, nDiv ); nLeftDist = (sal_uInt16)Scale( nLeftDist, nMult, nDiv );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment