sc/source/ui/view/tabvwsh4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6e712d5bfaf8b14aacddf903d616447ef22e14f7 Author: Sahil <me.sahilgau...@gmail.com> AuthorDate: Sat Dec 9 20:02:19 2023 +0530 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Sun Dec 10 10:29:31 2023 +0100 tdf#33210 Directly call the method, as it is inherited ScTabViewShell inherits ScTabView, therefore HighlightOverlay() can directly be called from ScTabViewShell instance. Change-Id: I3804ee2fd8598a338bbafe01df7756190ade660c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159365 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx index 2989d63b5f99..4b849ee7637d 100644 --- a/sc/source/ui/view/tabvwsh4.cxx +++ b/sc/source/ui/view/tabvwsh4.cxx @@ -1717,7 +1717,7 @@ void SAL_CALL ScViewOptiChangesListener::changesOccurred(const util::ChangesEven if (OUString sChangedEntry; (change.Accessor >>= sChangedEntry) && sChangedEntry == "ColumnRowHighlighting") { - mrViewShell.GetViewData().GetView()->HighlightOverlay(); + mrViewShell.HighlightOverlay(); break; } }