diff options
Diffstat (limited to 'sc/source/ui/view/tabview5.cxx')
-rw-r--r-- | sc/source/ui/view/tabview5.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx index 10a39b3a2555..fdb0823baa8e 100644 --- a/sc/source/ui/view/tabview5.cxx +++ b/sc/source/ui/view/tabview5.cxx @@ -163,18 +163,18 @@ ScTabView::~ScTabView() { ScTabViewShell* pThisViewShell = GetViewData().GetViewShell(); - auto lRemoveEditView = + auto lRemoveWindows = [pThisViewShell] (ScTabViewShell* pOtherViewShell) { ScViewData& rOtherViewData = pOtherViewShell->GetViewData(); for (int k = 0; k < 4; ++k) { if (rOtherViewData.HasEditView((ScSplitPos)(k))) - pThisViewShell->RemoveEditViewFromOtherView(pOtherViewShell, (ScSplitPos)(k)); + pThisViewShell->RemoveWindowFromForeignEditView(pOtherViewShell, (ScSplitPos)(k)); } }; - SfxLokHelper::forEachOtherView(pThisViewShell, lRemoveEditView); + SfxLokHelper::forEachOtherView(pThisViewShell, lRemoveWindows); } aViewData.KillEditView(); // solange GridWin's noch existieren |