summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opencl/inc/opencl_device.hxx9
-rw-r--r--opencl/source/OpenCLZone.cxx6
-rw-r--r--solenv/clang-format/excludelist2
3 files changed, 10 insertions, 7 deletions
diff --git a/opencl/inc/opencl_device.hxx b/opencl/inc/opencl_device.hxx
index 93cc5f7a1271..69a9cbbc9c1a 100644
--- a/opencl/inc/opencl_device.hxx
+++ b/opencl/inc/opencl_device.hxx
@@ -12,12 +12,15 @@
#include <rtl/ustring.hxx>
-namespace openclwrapper { struct GPUEnv; }
+namespace openclwrapper
+{
+struct GPUEnv;
+}
struct ds_device;
-ds_device const & getDeviceSelection(OUString const & pFileName, bool bForceSelection);
+ds_device const& getDeviceSelection(OUString const& pFileName, bool bForceSelection);
-void releaseOpenCLEnv( openclwrapper::GPUEnv *gpuInfo );
+void releaseOpenCLEnv(openclwrapper::GPUEnv* gpuInfo);
#endif
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();
diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist
index 34d6c2190f5d..510f3fe90ac8 100644
--- a/solenv/clang-format/excludelist
+++ b/solenv/clang-format/excludelist
@@ -7897,9 +7897,7 @@ oox/source/vml/vmlshapecontainer.cxx
oox/source/vml/vmlshapecontext.cxx
oox/source/vml/vmltextbox.cxx
oox/source/vml/vmltextboxcontext.cxx
-opencl/inc/opencl_device.hxx
opencl/inc/opencl_device_selection.h
-opencl/source/OpenCLZone.cxx
opencl/source/opencl_device.cxx
opencl/source/openclconfig.cxx
opencl/source/openclwrapper.cxx