diff options
Diffstat (limited to 'sc/source/ui/optdlg/calcoptionsdlg.cxx')
-rw-r--r-- | sc/source/ui/optdlg/calcoptionsdlg.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx index 0b00a043b044..652090b36cb4 100644 --- a/sc/source/ui/optdlg/calcoptionsdlg.cxx +++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx @@ -14,6 +14,10 @@ #include "svtools/svlbitm.hxx" #include "svtools/treelistentry.hxx" +#if HAVE_FEATURE_OPENCL +#include "formulagroup.hxx" +#endif + namespace { typedef enum { @@ -195,7 +199,7 @@ void ScCalcOptionsDialog::fillOpenclList() { mpOpenclInfoList->SetUpdateMode(false); mpOpenclInfoList->Clear(); - maPlatformInfo = sc::listAllOpenclPlatforms(); + sc::FormulaGroupInterpreter::fillOpenCLInfo(maPlatformInfo); for(std::vector<sc::OpenclPlatformInfo>::iterator it = maPlatformInfo.begin(), itEnd = maPlatformInfo.end(); it != itEnd; ++it) { |