summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-06-27 16:44:24 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-06-27 16:45:47 -0400
commitfcf4a2ea98c59c4d9d95c4c3b437aa02f414acd3 (patch)
treea3ee464b6f49ee31014bc0d818ff9c080a6d4453 /sc
parentbb0477558433b964003d83ac2f6804c274a5b0f7 (diff)
These should be ifdef, per compiler warnings.
Change-Id: I302d9ca63bc289fce99bf3e64d9aa3fcbcabf694
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/formulagroup.cxx2
-rw-r--r--sc/source/ui/optdlg/calcoptionsdlg.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/formulagroup.cxx b/sc/source/core/tool/formulagroup.cxx
index f9d251bbada3..4cccc369cb1d 100644
--- a/sc/source/core/tool/formulagroup.cxx
+++ b/sc/source/core/tool/formulagroup.cxx
@@ -111,7 +111,7 @@ FormulaGroupInterpreter *FormulaGroupInterpreter::getStatic()
if ( !msInstance )
{
-#if HAVE_FEATURE_OPENCL
+#ifdef 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 11ec4cb49e37..26434bf2eb03 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));
-#if HAVE_FEATURE_OPENCL
+#ifdef HAVE_FEATURE_OPENCL
pModel->Insert(createBoolItem(maCaptionOpenCLEnabled,maConfig.mbOpenCLEnabled));
#endif