summaryrefslogtreecommitdiff
path: root/sc/inc/formulacell.hxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-09-08 14:35:37 +0300
committerTor Lillqvist <tml@collabora.com>2015-09-17 06:04:27 +0000
commitf2b93f2e314215d6342e0bd5727e6740cc15e29c (patch)
tree3a539267a45b5bfedc9587a180033eea71d80ede /sc/inc/formulacell.hxx
parent9008c5365581733f3d54ee30ade5e418cd6e694b (diff)
ENABLE_THREADED_OPENCL_KERNEL_COMPILATION has been zero for a long time
And I doubt we will try to turn it on again, so remove dead code. Change-Id: Iaa8908fdb5a197ef0d1da5eaf08ae08df2a86ee7 Reviewed-on: https://gerrit.libreoffice.org/18404 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'sc/inc/formulacell.hxx')
-rw-r--r--sc/inc/formulacell.hxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx
index 957902957681..3deb9e30583d 100644
--- a/sc/inc/formulacell.hxx
+++ b/sc/inc/formulacell.hxx
@@ -34,11 +34,8 @@
#include "formularesult.hxx"
-#define ENABLE_THREADED_OPENCL_KERNEL_COMPILATION 0
-
namespace sc {
-class CLBuildKernelThread;
class CompiledFormula;
class StartListeningContext;
class EndListeningContext;
@@ -78,9 +75,6 @@ public:
ScFormulaCellGroup();
~ScFormulaCellGroup();
-#if ENABLE_THREADED_OPENCL_KERNEL_COMPILATION
- void scheduleCompilation();
-#endif
void setCode( const ScTokenArray& rCode );
void setCode( ScTokenArray* pCode );
@@ -92,11 +86,6 @@ public:
ScFormulaCell** ppTopCell, const ScRange& rRange, bool bStartFixed, bool bEndFixed );
void endAllGroupListening( ScDocument& rDoc );
-
-#if ENABLE_THREADED_OPENCL_KERNEL_COMPILATION
- static int snCount;
- static rtl::Reference<sc::CLBuildKernelThread> sxCompilationThread;
-#endif
};
inline void intrusive_ptr_add_ref(const ScFormulaCellGroup *p)