sw/source/filter/basflt/shellio.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 8359e28ff1ef3c2bf2c0e6da0813343022d54516 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Nov 15 08:54:31 2022 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Nov 15 12:22:16 2022 +0100 ofz#53416 Abrt Change-Id: I5adb6a1a3987b74212b8606aef3826e7d2f77aaf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142727 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx index 1027ea9c4210..443e1a25902e 100644 --- a/sw/source/filter/basflt/shellio.cxx +++ b/sw/source/filter/basflt/shellio.cxx @@ -22,6 +22,7 @@ #include <tools/date.hxx> #include <tools/time.hxx> #include <svl/fstathelper.hxx> +#include <unotools/configmgr.hxx> #include <unotools/moduleoptions.hxx> #include <sfx2/docfile.hxx> #include <sfx2/docfilt.hxx> @@ -84,7 +85,7 @@ void SwAsciiOptions::Reset() m_eCharSet = ::osl_getThreadTextEncoding(); m_nLanguage = LANGUAGE_SYSTEM; m_bIncludeBOM = true; - m_bIncludeHidden = officecfg::Office::Writer::FilterFlags::ASCII::IncludeHiddenText::get(); + m_bIncludeHidden = !utl::ConfigManager::IsFuzzing() && officecfg::Office::Writer::FilterFlags::ASCII::IncludeHiddenText::get(); } ErrCode SwReader::Read( const Reader& rOptions )