summaryrefslogtreecommitdiff
path: root/sc/source/ui/namedlg
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/namedlg
parentee6ffa3f157aedc7775df198c914a225aea41b54 (diff)
loplugin:staticcall
Change-Id: I670fbcd83e368f2821d37a392cbc007b1f4cd55e
Diffstat (limited to 'sc/source/ui/namedlg')
-rw-r--r--sc/source/ui/namedlg/namepast.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/namedlg/namepast.cxx b/sc/source/ui/namedlg/namepast.cxx
index 8d8e4d841ce3..52fde2ef009e 100644
--- a/sc/source/ui/namedlg/namepast.cxx
+++ b/sc/source/ui/namedlg/namepast.cxx
@@ -47,7 +47,7 @@ ScNamePasteDlg::ScNamePasteDlg( Window * pParent, ScDocShell* pShell, bool )
maRangeMap.insert(aTemp, new ScRangeName(*itr->second));
}
- ScViewData* pViewData = pShell->GetViewData();
+ ScViewData* pViewData = ScDocShell::GetViewData();
ScAddress aPos(pViewData->GetCurX(), pViewData->GetCurY(), pViewData->GetTabNo());
SvSimpleTableContainer *pContainer = get<SvSimpleTableContainer>("ctrl");
Size aControlSize(210, 0);