diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 13:09:22 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-11-19 19:23:02 +0100 |
commit | 4d4e95be173e84b5040af46a459b3c071bfd744a (patch) | |
tree | 4ad97119f36584bece6131447b1c11232035e95b | |
parent | dab1e6435728c6d7e81d6d6158e1fa45470345d2 (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>
-rw-r--r-- | opencl/inc/opencl_device.hxx | 9 | ||||
-rw-r--r-- | opencl/source/OpenCLZone.cxx | 6 | ||||
-rw-r--r-- | solenv/clang-format/excludelist | 2 |
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 |