sw/source/uibase/config/viewopt.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 1fec168aff4569827d4822c9fcff7bc4ecd0d04b Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Tue May 16 13:05:03 2023 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Sat May 20 22:22:37 2023 +0200 ofz#59028 avoid config make this actually do nothing to test a point Change-Id: I353dc2bbbcd9229518f6527fe1589a901a9adfd1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151833 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sw/source/uibase/config/viewopt.cxx b/sw/source/uibase/config/viewopt.cxx index 59a9c19dbf1d..a91a554ec5ec 100644 --- a/sw/source/uibase/config/viewopt.cxx +++ b/sw/source/uibase/config/viewopt.cxx @@ -602,6 +602,8 @@ rtl::Reference<comphelper::ConfigurationListener> const & getWCOptionListener() bool SwViewOption::IsIgnoreProtectedArea() { + if (utl::ConfigManager::IsFuzzing()) + return false; static comphelper::ConfigurationListenerProperty<bool> gIgnoreProtectedArea(getWCOptionListener(), "IgnoreProtectedArea"); return gIgnoreProtectedArea.get(); }