editeng/source/items/frmitems.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5f50fcf94e37cb11b0217b6a83cfa1311bb6a6ca Author: Julien Nabet <serval2...@yahoo.fr> Date: Sun Mar 17 18:10:28 2013 +0100 coverity#735373 Copy-paste error Change-Id: I0273a08a7aa23aa9bb7aa2139a0cea02611e8feb Reviewed-on: https://gerrit.libreoffice.org/2797 Reviewed-by: Joren De Cuyper <joren.libreoff...@telenet.be> Reviewed-by: Tomáš Chvátal <tchva...@suse.cz> Tested-by: Tomáš Chvátal <tchva...@suse.cz> diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index dab5e82..1a23a68 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 );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits