summaryrefslogtreecommitdiff
path: root/opencl/source
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:09:22 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-19 19:23:02 +0100
commit4d4e95be173e84b5040af46a459b3c071bfd744a (patch)
tree4ad97119f36584bece6131447b1c11232035e95b /opencl/source
parentdab1e6435728c6d7e81d6d6158e1fa45470345d2 (diff)
tdf#123936 Formatting files in module opencl with clang-format
Change-Id: I16a00ceee4c2b772ec9ed6b1b349253114b22239 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105695 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'opencl/source')
-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();