summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbarange.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:51:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:31 +0200
commit45f533aee9b44c702ae4f0ef039eddae9f132e51 (patch)
treefeaa63a6809ed9e2ff60665d845a8b2f2f43b6ac /sc/source/ui/vba/vbarange.cxx
parentee6ffa3f157aedc7775df198c914a225aea41b54 (diff)
loplugin:staticcall
Change-Id: I670fbcd83e368f2821d37a392cbc007b1f4cd55e
Diffstat (limited to 'sc/source/ui/vba/vbarange.cxx')
-rw-r--r--sc/source/ui/vba/vbarange.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 809be5139b66..75d34169cf2c 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -1206,7 +1206,7 @@ bool getScRangeListForAddress( const OUString& sName, ScDocShell* pDocSh, ScRang
ScDocument* pDoc = pDocSh->GetDocument();
if ( pDoc )
{
- SCTAB nCurTab = pDocSh->GetCurTab();
+ SCTAB nCurTab = ScDocShell::GetCurTab();
ScRangeName* pRangeName = pDoc->GetRangeName(nCurTab);
if (pRangeName)
{
@@ -4285,7 +4285,7 @@ static void lcl_SelectAll( ScDocShell* pDocShell, ScQueryParam& aParam )
{
if ( pDocShell )
{
- ScViewData* pViewData = pDocShell->GetViewData();
+ ScViewData* pViewData = ScDocShell::GetViewData();
if ( pViewData )
{
OSL_TRACE("Pushing out SelectAll query");