summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-01-08 14:16:49 +0200
committerTor Lillqvist <tml@collabora.com>2015-01-08 15:15:37 +0200
commitdf030ad22740497e02e319a9471e9cf504df4d67 (patch)
treefe50f9341bad14c8eaf3e45631ec9a755dc46ce5 /sc
parent25e291438231611823dadc195fd26d26a1b8ece4 (diff)
Bin obsolete conditional compilation
NO_FALLBACK_TO_SWINTERP has been undefined for a long time. I doubt anybody knows any more what it means, and in what situations it might perhaps make sense to define it. Should it be a compile-time choice anyway, in that case, or a run-time one? What is a "TDD run"? Test-Driven Development? But we have our unit test mechanism for that. Change-Id: If3e21e958ebeb689a8aac8eb7393c02f7143401c
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/opencl/formulagroupcl.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index b0a16a59ab24..a458b8d3c21b 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -81,8 +81,6 @@ const unsigned long __nan[2] = {0xffffffff, 0x7fffffff};
#include <boost/scoped_ptr.hpp>
#include <boost/scoped_array.hpp>
-#undef NO_FALLBACK_TO_SWINTERP /* undef this for non-TDD runs */
-
using namespace formula;
namespace sc { namespace opencl {
@@ -3656,12 +3654,8 @@ DynamicKernel* DynamicKernel::create( ScTokenArray& rCode, int nResultSize )
catch (const UnhandledToken& ut)
{
SAL_WARN("sc.opencl", "Dynamic formula compiler: unhandled token: " << ut.mMessage << " at " << ut.mFile << ":" << ut.mLineNumber);
-#ifdef NO_FALLBACK_TO_SWINTERP
- assert(false);
-#else
delete pDynamicKernel;
return NULL;
-#endif
}
catch (...)
{