diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:51:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:54:31 +0200 |
commit | 45f533aee9b44c702ae4f0ef039eddae9f132e51 (patch) | |
tree | feaa63a6809ed9e2ff60665d845a8b2f2f43b6ac /sc/source/ui/namedlg | |
parent | ee6ffa3f157aedc7775df198c914a225aea41b54 (diff) |
loplugin:staticcall
Change-Id: I670fbcd83e368f2821d37a392cbc007b1f4cd55e
Diffstat (limited to 'sc/source/ui/namedlg')
-rw-r--r-- | sc/source/ui/namedlg/namepast.cxx | 2 |
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); |