Kaydet (Commit) a8b8841f authored tarafından Caolán McNamara's avatar Caolán McNamara

speed up fuzzers a little

Change-Id: I04b66fc32bbcd70484bf3a7eef1c5125b3636fe7
Reviewed-on: https://gerrit.libreoffice.org/44467Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst e3e4b799
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment