diff options
author | David Tardon <dtardon@redhat.com> | 2011-12-19 14:44:10 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-12-22 13:24:47 +0100 |
commit | b80d9acb3e0c3caf7d760b9ee3f5cfaf07bb32cd (patch) | |
tree | 481534da9555f1f6b7a60089c3ca9fda02ce9c5c /vcl/unx/generic | |
parent | ee1eb926550028da6e5e44089d4706798f94e0bb (diff) |
use officecfg/Office/Common.hxx directly
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/plugadapt/salplug.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/unx/generic/plugadapt/salplug.cxx b/vcl/unx/generic/plugadapt/salplug.cxx index 8b4488d4f10c..44499142fbe7 100644 --- a/vcl/unx/generic/plugadapt/salplug.cxx +++ b/vcl/unx/generic/plugadapt/salplug.cxx @@ -26,6 +26,9 @@ * ************************************************************************/ +#include "comphelper/processfactory.hxx" + +#include "officecfg/Office/Common.hxx" #include "osl/module.h" #include "osl/process.h" @@ -55,7 +58,7 @@ static SalInstance* tryInstance( const OUString& rModuleBase ) #ifndef ANDROID // Disable gtk3 plugin load except in experimental mode for now. if( rModuleBase.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "gtk3" ) ) && - !SalGenericSystem::enableExperimentalFeatures() ) + !officecfg::Office::Common::Misc::ExperimentalMode::get( comphelper::getProcessComponentContext() ) ) return NULL; #endif OUStringBuffer aModName( 128 ); |