summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-12 20:56:11 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-12 21:50:02 +0200
commitc51fc2df9223d4c57e6749da553e29ae4d351782 (patch)
tree612fffb9665354f93b8c0257a9be99e1a2cee8d9 /sc
parentd12efada389643ab0e13a280246d14caed273029 (diff)
We want the platform vendor here, not the platform name
We already have the platform name in maName. Change-Id: Iec94ce72cbaba0adf1c82a90892ab98851f5c8ca
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/opencl/openclwrapper.cxx2
1 files changed, 1 insertions, 1 deletions
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);