diff options
Diffstat (limited to 'sc/source/ui/view/tabview3.cxx')
-rw-r--r-- | sc/source/ui/view/tabview3.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx index 444b78b20b64..aad1c8283858 100644 --- a/sc/source/ui/view/tabview3.cxx +++ b/sc/source/ui/view/tabview3.cxx @@ -125,7 +125,6 @@ void ScExtraEditViewManager::Apply(SfxViewShell* pViewShell, ScSplitPos eWhich) mpOtherEditView = pOtherViewShell->GetViewData().GetEditView(eWhich); if (mpOtherEditView != nullptr) { - DBG_ASSERT(mpOtherEditView->GetEditEngine(), "Edit view has no valid engine."); for (int i = 0; i < 4; ++i) { ScGridWindow* pWin = mpGridWin[i].get(); @@ -2219,7 +2218,7 @@ void ScTabView::UpdateEditView() tools::Long nY = GetViewData().GetCurYForTab(nRefTabNo); aViewData.SetEditEngine(eCurrent, - static_cast<ScEditEngineDefaulter*>(pEditView->GetEditEngine()), + static_cast<ScEditEngineDefaulter*>(&pEditView->getEditEngine()), pGridWin[i], nX, nY ); if (eCurrent == eActive) pEditView->ShowCursor( false ); |