summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwsh8.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabvwsh8.cxx')
-rw-r--r--sc/source/ui/view/tabvwsh8.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/view/tabvwsh8.cxx b/sc/source/ui/view/tabvwsh8.cxx
index 75ce2b1d6832..d230a3ab3483 100644
--- a/sc/source/ui/view/tabvwsh8.cxx
+++ b/sc/source/ui/view/tabvwsh8.cxx
@@ -48,9 +48,8 @@ void ScTabViewShell::SetDefaultFrameLine( const SvxBorderLine* pLine )
{
delete pCurFrameLine;
pCurFrameLine = new SvxBorderLine( &pLine->GetColor(),
- pLine->GetOutWidth(),
- pLine->GetInWidth(),
- pLine->GetDistance() );
+ pLine->GetWidth(),
+ pLine->GetStyle() );
}
else if ( pCurFrameLine )
{