summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/view/tabvwsh4.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}
}