sw/source/filter/xml/XMLRedlineImportHelper.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 5e0a2b89eeefd9b538d5d541625beae41065f014 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Oct 11 21:24:17 2018 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Oct 11 22:36:58 2018 +0200 ofz#10853 no config available during fuzzing Change-Id: Ice48111756d2e5950093fabc28359f7a4e490220 Reviewed-on: https://gerrit.libreoffice.org/61693 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.cxx b/sw/source/filter/xml/XMLRedlineImportHelper.cxx index a2d24c1844d2..ade99db16295 100644 --- a/sw/source/filter/xml/XMLRedlineImportHelper.cxx +++ b/sw/source/filter/xml/XMLRedlineImportHelper.cxx @@ -37,6 +37,7 @@ #include "xmlimp.hxx" #include <officecfg/Office/Common.hxx> #include <o3tl/any.hxx> +#include <unotools/configmgr.hxx> #include <xmloff/xmltoken.hxx> #include <vcl/svapp.hxx> @@ -343,7 +344,7 @@ XMLRedlineImportHelper::~XMLRedlineImportHelper() aAny <<= bShowChanges; if ( bHandleShowChanges ) { - if (officecfg::Office::Common::Misc::ExperimentalMode::get(comphelper::getProcessComponentContext())) + if (!utl::ConfigManager::IsFuzzing() && officecfg::Office::Common::Misc::ExperimentalMode::get(comphelper::getProcessComponentContext())) { aAny <<= true; xModelPropertySet->setPropertyValue( g_sShowChanges, aAny ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits