Kaydet (Commit) 1adf99bf authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Revert "These should be ifdef, per compiler warnings."

This reverts commit fcf4a2ea.
üst 51a77792
...@@ -111,7 +111,7 @@ FormulaGroupInterpreter *FormulaGroupInterpreter::getStatic() ...@@ -111,7 +111,7 @@ FormulaGroupInterpreter *FormulaGroupInterpreter::getStatic()
if ( !msInstance ) if ( !msInstance )
{ {
#ifdef HAVE_FEATURE_OPENCL #if HAVE_FEATURE_OPENCL
if ( ScInterpreter::GetGlobalConfig().mbOpenCLEnabled ) if ( ScInterpreter::GetGlobalConfig().mbOpenCLEnabled )
msInstance = sc::opencl::createFormulaGroupInterpreter(); msInstance = sc::opencl::createFormulaGroupInterpreter();
#endif #endif
......
...@@ -199,7 +199,7 @@ void ScCalcOptionsDialog::FillOptionsList() ...@@ -199,7 +199,7 @@ void ScCalcOptionsDialog::FillOptionsList()
} }
pModel->Insert(createBoolItem(maCaptionEmptyStringAsZero,maConfig.mbEmptyStringAsZero)); pModel->Insert(createBoolItem(maCaptionEmptyStringAsZero,maConfig.mbEmptyStringAsZero));
#ifdef HAVE_FEATURE_OPENCL #if HAVE_FEATURE_OPENCL
pModel->Insert(createBoolItem(maCaptionOpenCLEnabled,maConfig.mbOpenCLEnabled)); pModel->Insert(createBoolItem(maCaptionOpenCLEnabled,maConfig.mbOpenCLEnabled));
#endif #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