diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-05-31 18:54:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-05-31 18:55:24 +0100 |
commit | 299946676fdced263305db35164950ada1caba0b (patch) | |
tree | 2a59e8bbd8bd25c7af47bd7536e6ee2b072edb7a | |
parent | 3e14a07a909439fa012e2831c1a163c527b07d50 (diff) |
try to fix arm build failure
Change-Id: Ib0ab738f09d7112d455743a58529463aa6a73941
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 2 |
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(); |