summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-01-08 14:19:50 +0200
committerTor Lillqvist <tml@collabora.com>2015-01-08 15:15:37 +0200
commit4188576f9368b689ae7cfa4cd3fdd17318605d85 (patch)
treeffced75fc58697db70d8af8f23ed1d0196cea80e /sc
parentdf030ad22740497e02e319a9471e9cf504df4d67 (diff)
Bin obsolete conditional compilation
MD5_KERNEL has been defined always for a long time, and I don't see why we wouldn't want that functionality. Change-Id: I7ee220ac3354fb8e5f6556259147675847aab68d
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/opencl/formulagroupcl.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index a458b8d3c21b..07a283d6ca89 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -73,10 +73,8 @@ const unsigned long __nan[2] = {0xffffffff, 0x7fffffff};
#include <iostream>
#include <sstream>
#include <algorithm>
-#define MD5_KERNEL 1
-#ifdef MD5_KERNEL
+
#include <rtl/digest.h>
-#endif
#include <boost/scoped_ptr.hpp>
#include <boost/scoped_array.hpp>
@@ -3405,7 +3403,6 @@ void DynamicKernel::CodeGen()
std::string DynamicKernel::GetMD5()
{
-#ifdef MD5_KERNEL
if (mKernelHash.empty())
{
std::stringstream md5s;
@@ -3422,9 +3419,6 @@ std::string DynamicKernel::GetMD5()
mKernelHash = md5s.str();
}
return mKernelHash;
-#else
- return "";
-#endif
}
/// Build code