[Libreoffice-commits] core.git: sc/source
Caolán McNamara
caolanm at redhat.com
Tue May 31 17:56:11 UTC 2016
sc/source/ui/unoobj/docuno.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 299946676fdced263305db35164950ada1caba0b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue May 31 18:54:35 2016 +0100
try to fix arm build failure
Change-Id: Ib0ab738f09d7112d455743a58529463aa6a73941
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 56d5a61..e35e2c30 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -2833,7 +2833,9 @@ void ScModelObj::enableOpenCL(sal_Bool bEnable)
aConfig.setOpenCLConfigToDefault();
ScInterpreter::SetGlobalConfig(aConfig);
+#if HAVE_FEATURE_OPENCL
sc::FormulaGroupInterpreter::switchOpenCLDevice(OUString(), true, false);
+#endif
ScDocument* pDoc = GetDocument();
pDoc->CheckVectorizationState();
More information about the Libreoffice-commits
mailing list