summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-07 12:04:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-07 12:07:43 +0200
commite1b1778b00227e11bd180db254ce6f2a20739394 (patch)
tree74c43914676869334125236a9f51f6aeb822e540 /sc/source/ui/vba
parentcff185e438f2db564d0309f1c790cd79be908351 (diff)
loplugin:staticmethods: sc
Change-Id: I7fb92d55a48e1a79568a25002bf17155b8f387b4
Diffstat (limited to 'sc/source/ui/vba')
-rw-r--r--sc/source/ui/vba/vbawindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx
index 42c62bbeb4d9..29f9206ac586 100644
--- a/sc/source/ui/vba/vbawindow.cxx
+++ b/sc/source/ui/vba/vbawindow.cxx
@@ -862,7 +862,7 @@ double SAL_CALL ScVbaWindow::getTabRatio() throw (css::uno::RuntimeException, st
ScTabViewShell* pViewShell = excel::getBestViewShell( m_xModel );
if ( pViewShell && pViewShell->GetViewData().GetView() )
{
- double fRatio = pViewShell->GetViewData().GetView()->GetRelTabBarWidth();
+ double fRatio = ScTabView::GetRelTabBarWidth();
if ( fRatio >= 0.0 && fRatio <= 1.0 )
return fRatio;
}