summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-05-31 18:54:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-05-31 18:55:24 +0100
commit299946676fdced263305db35164950ada1caba0b (patch)
tree2a59e8bbd8bd25c7af47bd7536e6ee2b072edb7a
parent3e14a07a909439fa012e2831c1a163c527b07d50 (diff)
try to fix arm build failure
Change-Id: Ib0ab738f09d7112d455743a58529463aa6a73941
-rw-r--r--sc/source/ui/unoobj/docuno.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 56d5a6148d8d..e35e2c30fe6c 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();