diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-06-27 17:29:16 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-06-27 17:29:16 -0400 |
commit | 1adf99bf2320a29694fe300749f685d3893ad179 (patch) | |
tree | b72e437fd590740705ed80bcda9e81fcd8e763d2 /sc | |
parent | 51a777926c4bac73f8ee68c1ddc26de40497fa73 (diff) |
Revert "These should be ifdef, per compiler warnings."
This reverts commit fcf4a2ea98c59c4d9d95c4c3b437aa02f414acd3.
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/formulagroup.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/optdlg/calcoptionsdlg.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/formulagroup.cxx b/sc/source/core/tool/formulagroup.cxx index 4cccc369cb1d..f9d251bbada3 100644 --- a/sc/source/core/tool/formulagroup.cxx +++ b/sc/source/core/tool/formulagroup.cxx @@ -111,7 +111,7 @@ FormulaGroupInterpreter *FormulaGroupInterpreter::getStatic() if ( !msInstance ) { -#ifdef HAVE_FEATURE_OPENCL +#if HAVE_FEATURE_OPENCL if ( ScInterpreter::GetGlobalConfig().mbOpenCLEnabled ) msInstance = sc::opencl::createFormulaGroupInterpreter(); #endif diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx index 26434bf2eb03..11ec4cb49e37 100644 --- a/sc/source/ui/optdlg/calcoptionsdlg.cxx +++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx @@ -199,7 +199,7 @@ void ScCalcOptionsDialog::FillOptionsList() } pModel->Insert(createBoolItem(maCaptionEmptyStringAsZero,maConfig.mbEmptyStringAsZero)); -#ifdef HAVE_FEATURE_OPENCL +#if HAVE_FEATURE_OPENCL pModel->Insert(createBoolItem(maCaptionOpenCLEnabled,maConfig.mbOpenCLEnabled)); #endif |