Kaydet (Commit) fe076b97 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

sc, opencl dependant code called even without FEATURE_OPENCL

Change-Id: I9629904b6b48d6b8356d6abb0c3cffe6e3fba517
üst 169e1058
......@@ -582,6 +582,7 @@ void ScCalcOptionsDialog::SelectionChanged()
mpEditField->Hide();
mpOpenCLWhiteAndBlackListGrid->Show();
mpOpenclInfoList->GetParent()->Hide();
#if HAVE_FEATURE_OPENCL
if ( nSelectedPos == CALC_OPTION_OPENCL_WHITELIST )
{
mpFtAnnotation->SetText(maDescOpenCLWhiteList);
......@@ -592,6 +593,7 @@ void ScCalcOptionsDialog::SelectionChanged()
mpFtAnnotation->SetText(maDescOpenCLBlackList);
fillListBox(mpOpenCLWhiteAndBlackListBox, maConfig.maOpenCLBlackList);
}
#endif
}
break;
}
......@@ -803,9 +805,10 @@ void ScCalcOptionsDialog::EditFieldValueChanged(Control *pCtrl)
rSet.erase(impl);
rSet.insert(newImpl);
#if HAVE_FEATURE_OPENCL
fillListBox(mpOpenCLWhiteAndBlackListBox, rSet);
mpOpenCLWhiteAndBlackListBox->SelectEntry(format(newImpl));
#endif
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment