diff options
Diffstat (limited to 'svx/source/table/svdotable.cxx')
-rwxr-xr-x | svx/source/table/svdotable.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index b746de8aa849..84ee34be44b7 100755 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -1914,15 +1914,15 @@ void lcl_VertLine( OutputDevice& rDev, const Point& rTop, const Point& rBottom, svx::frame::Style aScaled( rLine ); aScaled.ScaleSelf( 1.0 / cos( svx::frame::GetVerDiagAngle( rTop, rBottom ) ) ); if( pForceColor ) - aScaled.SetColor( *pForceColor ); + aScaled.SetColorPrim( *pForceColor ); long nXOffs = (aScaled.GetWidth() - 1) / -2L; - lcl_VertLineEnds( rDev, rTop, rBottom, aScaled.GetColor(), + lcl_VertLineEnds( rDev, rTop, rBottom, aScaled.GetColorPrim(), nXOffs, aScaled.Prim(), rTopLine, rBottomLine ); if( aScaled.Secn() ) - lcl_VertLineEnds( rDev, rTop, rBottom, aScaled.GetColor(), + lcl_VertLineEnds( rDev, rTop, rBottom, aScaled.GetColorPrim(), nXOffs + aScaled.Prim() + aScaled.Dist(), aScaled.Secn(), rTopLine, rBottomLine ); } } |