summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-17 18:10:28 +0100
committerTomáš Chvátal <tchvatal@suse.cz>2013-03-18 14:18:31 +0000
commit5f50fcf94e37cb11b0217b6a83cfa1311bb6a6ca (patch)
tree8033e751c36a18be84125709a55a943209fd70eb /editeng
parent8948fcde818ac6792160e0719a8b467a6320e52d (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.cxx2
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 );