diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-05-22 09:06:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-05-23 11:04:07 +0200 |
commit | d2ab9d3ff3f16352c3b05dbe87d31d37654506e5 (patch) | |
tree | 359714562b353c92593c01326b2edaf886c4afa8 | |
parent | 8b85bf77f461dfe095b09df5cfa4ec501fd1c199 (diff) |
ofz#59210 Abrt
Change-Id: I464f508324e66125a1578f162b5be31b00397075
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152082
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rw-r--r-- | sw/source/core/crsr/pam.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/crsr/pam.cxx b/sw/source/core/crsr/pam.cxx index eafa38907fcd..25bf8d0ef68e 100644 --- a/sw/source/core/crsr/pam.cxx +++ b/sw/source/core/crsr/pam.cxx @@ -22,6 +22,7 @@ #include <tools/gen.hxx> #include <editeng/protitem.hxx> #include <officecfg/Office/Common.hxx> +#include <unotools/configmgr.hxx> #include <cntfrm.hxx> #include <pagefrm.hxx> @@ -874,7 +875,7 @@ bool SwPaM::HasReadonlySel(bool bFormView, bool const isReplace) const const bool bAtStartA = (pA != nullptr) && (pA->GetMarkStart() == *GetPoint()); const bool bAtStartB = (pB != nullptr) && (pB->GetMarkStart() == *GetMark()); - if (officecfg::Office::Common::Filter::Microsoft::Import::ForceImportWWFieldsAsGenericFields::get()) + if (!utl::ConfigManager::IsFuzzing() && officecfg::Office::Common::Filter::Microsoft::Import::ForceImportWWFieldsAsGenericFields::get()) { ; // allow editing all fields in generic mode } |