sc/source/ui/view/gridwin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ffbf4dc7339572b7cab4405222ac93fb03ec6d51 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Thu Jan 11 13:25:16 2024 +0900 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Thu Jan 11 11:36:41 2024 +0100 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/+/161905 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index f4a1d6e6f5dd..9bd88d69d10d 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -6304,7 +6304,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;