summaryrefslogtreecommitdiff
path: root/opencl/source/OpenCLZone.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'opencl/source/OpenCLZone.cxx')
-rw-r--r--opencl/source/OpenCLZone.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/opencl/source/OpenCLZone.cxx b/opencl/source/OpenCLZone.cxx
index 01b50ed14a54..1eaf3f43fc96 100644
--- a/opencl/source/OpenCLZone.cxx
+++ b/opencl/source/OpenCLZone.cxx
@@ -30,12 +30,14 @@ void OpenCLZone::hardDisable()
bDisabled = true;
- std::shared_ptr<comphelper::ConfigurationChanges> xChanges(comphelper::ConfigurationChanges::create());
+ std::shared_ptr<comphelper::ConfigurationChanges> xChanges(
+ comphelper::ConfigurationChanges::create());
officecfg::Office::Common::Misc::UseOpenCL::set(false, xChanges);
xChanges->commit();
// Force synchronous config write
- auto xConfProvider = css::configuration::theDefaultProvider::get(comphelper::getProcessComponentContext());
+ auto xConfProvider
+ = css::configuration::theDefaultProvider::get(comphelper::getProcessComponentContext());
css::uno::Reference<css::util::XFlushable> xFlushable(xConfProvider, css::uno::UNO_QUERY_THROW);
xFlushable->flush();