sw/source/core/txtnode/OnlineAccessibilityCheck.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 4e4ca58abbbcbf03e69434062cdbfebe17113430 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Nov 18 20:41:40 2022 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Nov 19 10:59:11 2022 +0100 ofz#53525 Abrt Change-Id: Ia99d6aff1e7e9b90167fc535c1fc7951e7f4b2b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142954 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/core/txtnode/OnlineAccessibilityCheck.cxx b/sw/source/core/txtnode/OnlineAccessibilityCheck.cxx index d162e1a661ba..f919ce124a88 100644 --- a/sw/source/core/txtnode/OnlineAccessibilityCheck.cxx +++ b/sw/source/core/txtnode/OnlineAccessibilityCheck.cxx @@ -26,6 +26,7 @@ #include <docsh.hxx> #include <cmdid.h> #include <officecfg/Office/Common.hxx> +#include <unotools/configmgr.hxx> namespace sw { @@ -67,7 +68,9 @@ OnlineAccessibilityCheck::OnlineAccessibilityCheck(SwDoc& rDocument) , m_nAccessibilityIssues(0) , m_bInitialCheck(false) , m_bOnlineCheckStatus( - officecfg::Office::Common::Accessibility::OnlineAccessibilityCheck::get()) + !utl::ConfigManager::IsFuzzing() + ? officecfg::Office::Common::Accessibility::OnlineAccessibilityCheck::get() + : false) { }