From 89d3e8a8424ce44404a554812e5136452bb8cb60 Mon Sep 17 00:00:00 2001 From: Cédric Bosdonnat Date: Fri, 24 Dec 2010 10:00:15 +0100 Subject: Switching the order of the SetLinesWidth arguments --- sc/source/ui/view/viewfun2.cxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'sc/source/ui/view/viewfun2.cxx') diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index 8b3f7657ef99..953b7dffcb71 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -2920,18 +2920,14 @@ void ScViewFunc::UpdateLineAttrs( SvxBorderLine& rLine, if ( bColor ) { rLine.SetColor ( pSrcLine->GetColor() ); - rLine.SetOutWidth ( pDestLine->GetOutWidth() ); - rLine.SetInWidth ( pDestLine->GetInWidth() ); - rLine.SetDistance ( pDestLine->GetDistance() ); rLine.SetStyle ( pDestLine->GetStyle() ); + rLine.SetWidth ( pDestLine->GetWidth() ); } else { rLine.SetColor ( pDestLine->GetColor() ); - rLine.SetOutWidth ( pSrcLine->GetOutWidth() ); - rLine.SetInWidth ( pSrcLine->GetInWidth() ); - rLine.SetDistance ( pSrcLine->GetDistance() ); rLine.SetStyle ( pSrcLine->GetStyle() ); + rLine.SetWidth ( pSrcLine->GetWidth() ); } } } -- cgit