diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-04-24 17:21:16 +0100 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-04-24 17:22:43 +0100 |
commit | 062871853cc420f35ddfbc2534f34c94f1b4c982 (patch) | |
tree | af315e9587e6db790ce45dd9bf12b7bc2e2fc4b0 /sc | |
parent | d6aa639fbb29ee93bc8229cea9a79e5d92dcfc1e (diff) |
loplugin:unreffun -- Wrap opencl-only functions in appropriate ifdef.
This section is only needed if we have opencl enabled, hence we should
wrap it in HAVE_FEATURE_OPENCL.
Change-Id: I5ec479d7c1739fcb8baf0936104425b515b6a843
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/formulagroup.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/tool/formulagroup.cxx b/sc/source/core/tool/formulagroup.cxx index bd67fae8f127..56eae0d62749 100644 --- a/sc/source/core/tool/formulagroup.cxx +++ b/sc/source/core/tool/formulagroup.cxx @@ -511,6 +511,7 @@ public: #endif +#if HAVE_FEATURE_OPENCL #ifndef DISABLE_DYNLOADING class FormulaGroupInterpreterOpenCLMissing : public FormulaGroupInterpreter @@ -553,6 +554,7 @@ osl::Module* getOpenCLModule() } #endif +#endif /// load and/or configure the correct formula group interpreter FormulaGroupInterpreter *FormulaGroupInterpreter::getStatic() |