[Libreoffice-commits] core.git: sc/source

Stephan Bergmann sbergman at redhat.com
Wed Apr 13 06:51:50 UTC 2016


 sc/source/core/data/formulacell.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit b96014360051875bd0edddf3639a8c577d64ef5b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Apr 13 08:50:44 2016 +0200

    Fix non-OpenCL builds
    
    ...after ec53ac63e342d9d00e1aed4372a903630b6a191b "Move clew/clew.h into
    external, too"
    
    Change-Id: I33e9f839f9bcc86f009b90ed9579e61197657e1b

diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index 51d653a..d3bb65e 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -45,6 +45,7 @@
 #include "chgtrack.hxx"
 #include "tokenarray.hxx"
 
+#include <config_features.h>
 #include <formula/errorcodes.hxx>
 #include <formula/vectortoken.hxx>
 #include <svl/intitem.hxx>
@@ -55,13 +56,16 @@
 #include "types.hxx"
 #include "scopetools.hxx"
 #include "refupdatecontext.hxx"
-#include <opencl/openclwrapper.hxx>
 #include <tokenstringcontext.hxx>
 #include <refhint.hxx>
 #include <listenerquery.hxx>
 #include <listenerqueryids.hxx>
 #include <grouparealistener.hxx>
 
+#if HAVE_FEATURE_OPENCL
+#include <opencl/openclwrapper.hxx>
+#endif
+
 #include <memory>
 #include <map>
 


More information about the Libreoffice-commits mailing list