unotools/source/config/fontcfg.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit a8b8841f9f52ae1f31a7c54092ab13d02957c665 Author: Caolán McNamara <caol...@redhat.com> Date: Wed Nov 8 14:30:48 2017 +0000 speed up fuzzers a little Change-Id: I04b66fc32bbcd70484bf3a7eef1c5125b3636fe7 Reviewed-on: https://gerrit.libreoffice.org/44467 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/unotools/source/config/fontcfg.cxx b/unotools/source/config/fontcfg.cxx index 91aa70272eff..0e4dac43ce2d 100644 --- a/unotools/source/config/fontcfg.cxx +++ b/unotools/source/config/fontcfg.cxx @@ -19,6 +19,7 @@ #include <i18nlangtag/mslangid.hxx> #include <o3tl/any.hxx> +#include <unotools/configmgr.hxx> #include <unotools/fontcfg.hxx> #include <unotools/fontdefs.hxx> #include <comphelper/processfactory.hxx> @@ -98,6 +99,8 @@ DefaultFontConfiguration& DefaultFontConfiguration::get() DefaultFontConfiguration::DefaultFontConfiguration() { + if (utl::ConfigManager::IsAvoidConfig()) + return; // create configuration hierarchical access name try { @@ -349,6 +352,8 @@ FontSubstConfiguration& FontSubstConfiguration::get() FontSubstConfiguration::FontSubstConfiguration() : maSubstHash( 300 ) { + if (utl::ConfigManager::IsAvoidConfig()) + return; try { // get service provider
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits