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>
This commit is contained in:
Philipp Hofer
2020-11-19 19:23:02 +01:00
committed by Christian Lohmaier
parent dab1e64357
commit 4d4e95be17
3 changed files with 10 additions and 7 deletions
+6 -3
View File
@@ -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
+4 -2
View File
@@ -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();
-2
View File
@@ -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