diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/opencl-test.cxx | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx index 48548ab7c18b..1816eeb4ecab 100644 --- a/sc/qa/unit/opencl-test.cxx +++ b/sc/qa/unit/opencl-test.cxx @@ -47,7 +47,7 @@ class ScOpenclTest public: ScOpenclTest(); bool enableOpenCL(); - void SetEnv(); + virtual void setUp(); virtual void tearDown(); @@ -169,16 +169,6 @@ bool ScOpenclTest::load(const OUString &rFilter, const OUString &rURL, xDocShRef->DoClose(); return bLoaded; } -void ScOpenclTest::SetEnv() -{ - #ifdef WIN32 - char *newpathfull = (char *)malloc(1024); - newpathfull= "PATH=;C:\\Program Files (x86)\\AMD APP\\bin\\x86_64;"; - putenv(newpathfull); - #else - return; - #endif -} bool ScOpenclTest::enableOpenCL() { @@ -1462,7 +1452,6 @@ ScOpenclTest::ScOpenclTest() void ScOpenclTest::setUp() { test::BootstrapFixture::setUp(); - SetEnv(); // This is a bit of a fudge, we do this to ensure that ScGlobals::ensure, // which is a private symbol to us, gets called m_xCalcComponent = |