sw/source/uibase/config/viewopt.cxx | 4 ---- 1 file changed, 4 deletions(-)
New commits: commit 4ee667ebd3780bf646f11f8f1b78d4ed2c132432 Author: Caolán McNamara <[email protected]> AuthorDate: Thu Oct 23 11:09:35 2025 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Fri Oct 24 09:30:22 2025 +0200 nowadays these default to false during Fuzzing anyway Change-Id: Ic6492f69093be7fcd230a70f9036373c4da5c40d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192903 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/sw/source/uibase/config/viewopt.cxx b/sw/source/uibase/config/viewopt.cxx index 5a2b5dcdbe90..535260d7a443 100644 --- a/sw/source/uibase/config/viewopt.cxx +++ b/sw/source/uibase/config/viewopt.cxx @@ -573,16 +573,12 @@ rtl::Reference<comphelper::ConfigurationListener> const & getWCOptionListener() bool SwViewOption::IsIgnoreProtectedArea() { - if (comphelper::IsFuzzing()) - return false; static comphelper::ConfigurationListenerProperty<bool> gIgnoreProtectedArea(getWCOptionListener(), u"IgnoreProtectedArea"_ustr); return gIgnoreProtectedArea.get(); } bool SwViewOption::IsAllowDragDropText() { - if (comphelper::IsFuzzing()) - return true; static comphelper::ConfigurationListenerProperty<bool> gAllowDragDrop(getWCOptionListener(), u"AllowDragDrop"_ustr); return gAllowDragDrop.get(); }
