summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/filter/FilterConfigCache.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/source/filter/FilterConfigCache.cxx b/vcl/source/filter/FilterConfigCache.cxx
index 4929241407f2..ab2196dca922 100644
--- a/vcl/source/filter/FilterConfigCache.cxx
+++ b/vcl/source/filter/FilterConfigCache.cxx
@@ -20,6 +20,7 @@
#include "FilterConfigCache.hxx"
#include <vcl/graphicfilter.hxx>
+#include <unotools/configmgr.hxx>
#include <com/sun/star/uno/Any.h>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/uno/Exception.hpp>
@@ -296,7 +297,9 @@ void FilterConfigCache::ImplInitSmart()
FilterConfigCache::FilterConfigCache( bool bConfig ) :
bUseConfig ( bConfig )
{
- if ( bUseConfig )
+ if (bUseConfig)
+ bUseConfig = !utl::ConfigManager::IsAvoidConfig();
+ if (bUseConfig)
ImplInit();
else
ImplInitSmart();