summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-11-15 08:54:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-11-15 12:22:16 +0100
commit8359e28ff1ef3c2bf2c0e6da0813343022d54516 (patch)
tree034b609bcafbe61be69a0252f909630529f3d22f /sw/source
parenta865d042eff3cdd4d78badcc55c9d8fdf9ef52aa (diff)
ofz#53416 Abrt
Change-Id: I5adb6a1a3987b74212b8606aef3826e7d2f77aaf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142727 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/filter/basflt/shellio.cxx3
1 files changed, 2 insertions, 1 deletions
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 )