diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/formulagroup.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
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<OpenclPlatformInfo>& rP return; std::vector<OpenclPlatformInfo> 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 } |