diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-17 18:10:28 +0100 |
---|---|---|
committer | Tomáš Chvátal <tchvatal@suse.cz> | 2013-03-18 14:18:31 +0000 |
commit | 5f50fcf94e37cb11b0217b6a83cfa1311bb6a6ca (patch) | |
tree | 8033e751c36a18be84125709a55a943209fd70eb /editeng | |
parent | 8948fcde818ac6792160e0719a8b467a6320e52d (diff) |
coverity#735373 Copy-paste error
Change-Id: I0273a08a7aa23aa9bb7aa2139a0cea02611e8feb
Reviewed-on: https://gerrit.libreoffice.org/2797
Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be>
Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz>
Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/frmitems.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index dab5e82e2648..1a23a68ffdf9 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -2259,7 +2259,7 @@ bool SvxBoxItem::ScaleMetrics( long nMult, long nDiv ) if ( pTop ) pTop->ScaleMetrics( nMult, nDiv ); if ( pBottom ) pBottom->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 ); nBottomDist = (sal_uInt16)Scale( nBottomDist, nMult, nDiv ); nLeftDist = (sal_uInt16)Scale( nLeftDist, nMult, nDiv ); |