diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-10-11 21:24:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-11 22:36:58 +0200 |
commit | 5e0a2b89eeefd9b538d5d541625beae41065f014 (patch) | |
tree | 92bb7a5c2c40c8f3336e8885360ef53627e4e691 /sw/source | |
parent | 3de2e2294759b83409e61ef5735313a6adf906e8 (diff) |
ofz#10853 no config available during fuzzing
Change-Id: Ice48111756d2e5950093fabc28359f7a4e490220
Reviewed-on: https://gerrit.libreoffice.org/61693
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/xml/XMLRedlineImportHelper.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 ); |