From c51fc2df9223d4c57e6749da553e29ae4d351782 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 12 Nov 2014 20:56:11 +0200 Subject: We want the platform vendor here, not the platform name We already have the platform name in maName. Change-Id: Iec94ce72cbaba0adf1c82a90892ab98851f5c8ca --- sc/source/core/opencl/openclwrapper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/core/opencl/openclwrapper.cxx b/sc/source/core/opencl/openclwrapper.cxx index 1db26ec43a0a..2759fcd0fe1d 100644 --- a/sc/source/core/opencl/openclwrapper.cxx +++ b/sc/source/core/opencl/openclwrapper.cxx @@ -661,7 +661,7 @@ bool createPlatformInfo(cl_platform_id nPlatformId, OpenCLPlatformInfo& rPlatfor if(nState != CL_SUCCESS) return false; - rPlatformInfo.maVendor = OUString::createFromAscii(pName); + rPlatformInfo.maVendor = OUString::createFromAscii(pVendor); cl_uint nDevices; nState = clGetDeviceIDs(nPlatformId, CL_DEVICE_TYPE_ALL, 0, NULL, &nDevices); -- cgit