diff options
-rw-r--r-- | sc/source/ui/view/tabview.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index 1b015d9c37a1..c10f41846538 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -896,9 +896,7 @@ long ScTabView::GetTabBarWidth() const double ScTabView::GetRelTabBarWidth() const { - if( long nFrameWidth = pFrameWin->GetSizePixel().Width() ) - return static_cast< double >( GetTabBarWidth() ) / nFrameWidth; - return 0.0; + return 0.5; } ScGridWindow* ScTabView::GetActiveWin() |