summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2024-01-11 13:25:16 +0900
committerTomaž Vajngerl <quikee@gmail.com>2024-01-15 10:04:00 +0100
commitda9f8f9f93a1146f90c21ceec143a827063e24f5 (patch)
treed1b19745d5ff200827f0eeb88c9ecfd7b95beadd /sc/source/ui
parenta4e429f18cc61b091ee5f0e85e2786b7dd22ccd3 (diff)
sc: don't stop if we can't cast one view to ScTabViewShell
Probably the intention here was to skip the view if we can't cast it to ScTabViewShell and not stop updating all the other views when we can't cast. Change-Id: Idbc2cd2d0c0ac5773fb45badb9098cb776d56691 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161958 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/view/gridwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 446badbb1244..186243702985 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -6375,7 +6375,7 @@ void ScGridWindow::updateOtherKitSelections() const
{
auto pOther = dynamic_cast<const ScTabViewShell *>(it);
if (!pOther)
- return;
+ continue;
// Fetch pixels & convert for each view separately.
tools::Rectangle aBoundingBox;