summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2020-07-21 10:57:52 +0200
committerAndras Timar <andras.timar@collabora.com>2020-07-21 10:58:08 +0200
commit519b0805da405d14badbe314d855bc222c80776a (patch)
tree7a567c0cd916b98fcb04f6e761c92806f952538c
parent47f8af9ca69d0bc7b0f200df447440750ade9464 (diff)
Revert "tdf#128502: Remove one more assertion"
This reverts commit daebdc6928aff7c09f9e961ce11c38d5e636ed0b. We decided not to have this "multiple docs" feature in stable cp-6.2 because it caused regressions that we could not fix quickly. Change-Id: I57928d615d03f850cae6b713eb6a0601a57c6e99
-rw-r--r--sc/source/ui/view/gridwin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index b1a002a332a4..7d686de0e4aa 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5971,6 +5971,7 @@ void ScGridWindow::UpdateKitSelection(const std::vector<tools::Rectangle>& rRect
if (it == pViewShell)
continue;
auto pOther = dynamic_cast<const ScTabViewShell *>(it);
+ assert(pOther);
if (!pOther)
return;