sc/source/ui/view/tabvwshh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7d7a34635cd4d7e5d9c3ae123d5adfa071e85da0 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri Oct 6 20:54:19 2023 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sat Oct 7 09:41:43 2023 +0200 fix ScTabViewShell::HasAccessibilityObjects been this way since it was introduced in commit 5cd1b592821d6870376f44aedfb527db07fd07d0 Author: Sascha Ballach <s...@openoffice.org> Date: Thu Feb 14 15:54:20 2002 +0000 #95584#; call Broadcaster for Accessibility objects Change-Id: I1a79807cbb529c72a46e0e77e2999ae3f5a143ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157664 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sc/source/ui/view/tabvwshh.cxx b/sc/source/ui/view/tabvwshh.cxx index ce38719bde67..d1263590a895 100644 --- a/sc/source/ui/view/tabvwshh.cxx +++ b/sc/source/ui/view/tabvwshh.cxx @@ -241,7 +241,7 @@ void ScTabViewShell::BroadcastAccessibility( const SfxHint &rHint ) bool ScTabViewShell::HasAccessibilityObjects() const { - return pAccessibilityBroadcaster != nullptr; + return pAccessibilityBroadcaster && pAccessibilityBroadcaster->HasListeners(); } bool ScTabViewShell::ExecuteRetypePassDlg(ScPasswordHash eDesiredHash)