[Libreoffice-commits] core.git: sc/source

Andrzej Hunt andrzej.hunt at collabora.com
Thu Apr 24 09:24:09 PDT 2014


 sc/source/core/tool/formulagroup.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 062871853cc420f35ddfbc2534f34c94f1b4c982
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date:   Thu Apr 24 17:21:16 2014 +0100

    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

diff --git a/sc/source/core/tool/formulagroup.cxx b/sc/source/core/tool/formulagroup.cxx
index bd67fae..56eae0d 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()


More information about the Libreoffice-commits mailing list