diff options
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index bb55a7433cfb..e7ba202632a2 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -5708,7 +5708,6 @@ void ScGridWindow::notifyKitCellViewCursor(const SfxViewShell* pForShell) const if (mpOOCursors) // cf. getCellCursor above { auto pForTabView = dynamic_cast<const ScTabViewShell *>(pForShell); - assert(pForTabView); if (!pForTabView) return; aCursor = pForTabView->GetViewData().describeCellCursorAt( @@ -5745,7 +5744,6 @@ void ScGridWindow::updateKitOtherCursors() const it = SfxViewShell::GetNext(*it)) { auto pOther = dynamic_cast<const ScTabViewShell *>(it); - assert(pOther); if (!pOther) continue; const ScGridWindow *pGrid = pOther->GetViewData().GetActiveWin(); @@ -5970,7 +5968,6 @@ void ScGridWindow::updateOtherKitSelections() const it = SfxViewShell::GetNext(*it)) { auto pOther = dynamic_cast<const ScTabViewShell *>(it); - assert(pOther); if (!pOther) return; |