From 3f317dbe71dcda974c0f322f0f4921e9e5e987f2 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 20 Sep 2013 22:22:06 +0300 Subject: Make it compile in the DISABLE_DYNLOADING case Change-Id: I360ec27ff268b7189af2f001806c9af5806953a5 --- sc/source/core/tool/formulagroup.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sc') diff --git a/sc/source/core/tool/formulagroup.cxx b/sc/source/core/tool/formulagroup.cxx index 0e8aa96d57b7..677ac9f9057e 100644 --- a/sc/source/core/tool/formulagroup.cxx +++ b/sc/source/core/tool/formulagroup.cxx @@ -29,7 +29,7 @@ #ifdef DISABLE_DYNLOADING extern "C" size_t getOpenCLPlatformCount(void); -extern "C" void fillOpenCLInfo(OpenclPlatformInfo*, size_t); +extern "C" void fillOpenCLInfo(sc::OpenclPlatformInfo*, size_t); extern "C" bool switchOpenClDevice(const OUString*, bool); extern "C" sc::FormulaGroupInterpreter* createFormulaGroupOpenCLInterpreter(); extern "C" void compileOpenCLKernels(const OUString*); @@ -417,7 +417,7 @@ void FormulaGroupInterpreter::fillOpenCLInfo(std::vector& rP return; std::vector aPlatforms(nPlatforms); - fillOpenCLInfo(&aPlatforms[0], aPlatforms.size()); + ::fillOpenCLInfo(&aPlatforms[0], aPlatforms.size()); rPlatforms.swap(aPlatforms); #endif } @@ -497,8 +497,7 @@ void FormulaGroupInterpreter::compileOpenCLKernels() reinterpret_cast<__compileOpenCLKernels>(fn)(&rConfig.maOpenCLDevice); #else - - compileOpenCLKernels(&rConfig.maOpenCLDevice); + ::compileOpenCLKernels(&rConfig.maOpenCLDevice); #endif } -- cgit