diff options
Diffstat (limited to 'desktop/source/app/opencl.cxx')
-rw-r--r-- | desktop/source/app/opencl.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/app/opencl.cxx b/desktop/source/app/opencl.cxx index f9f7dd228509..6d22e920535c 100644 --- a/desktop/source/app/opencl.cxx +++ b/desktop/source/app/opencl.cxx @@ -120,6 +120,7 @@ bool testOpenCLCompute(const Reference< XDesktop2 > &xDesktop, const OUString &r void Desktop::CheckOpenCLCompute(const Reference< XDesktop2 > &xDesktop) { if (getenv("SAL_DISABLE_OPENCL") || + Application::IsSafeModeEnabled() || !officecfg::Office::Common::Misc::UseOpenCL::get()) return; |