diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-02-10 16:24:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-02-10 20:03:19 +0100 |
commit | 751592f927d8289335a0886006f9b740b3e20df5 (patch) | |
tree | c1c614baf40a6e8ae4025305a65446baae2abc87 /sc/source/ui/view/viewfun2.cxx | |
parent | 7477b3ca599bc1d0e8e84fa3674032b0da4117b3 (diff) |
Remove redundant ScTabView::GetSdrView
See the comments at <https://gerrit.libreoffice.org/c/core/+/87872> "Removed old
comment" how it was presumably used in the distant past to address
<https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/
fatal-error-c1055?view=vs-2019> "compiler limit : out of keys".
Change-Id: I168532403fe04111ce1af08d43924a426c09c42d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88379
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/source/ui/view/viewfun2.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index 1880365a38af..dfd7aec9578a 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -2934,7 +2934,7 @@ void ScViewFunc::MoveTable( // Make sure to clear the cached page view after sheet // deletion, which still points to the sdr page belonging to // the deleted sheet. - SdrView* pSdrView = pDestViewSh->GetSdrView(); + SdrView* pSdrView = pDestViewSh->GetScDrawView(); if (pSdrView) pSdrView->ClearPageView(); |