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

Douglas Mencken dougmencken at gmail.com
Mon Jan 5 12:30:56 PST 2015


 sc/source/ui/optdlg/calcoptionsdlg.hxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 87e431946b345f73fb90ff11aa3d1a1e281d7253
Author: Douglas Mencken <dougmencken at gmail.com>
Date:   Fri Dec 26 22:09:57 2014 -0500

    sc-calcoptionsdlg.hxx: add definition guards (HAVE_FEATURE_OPENCL)
    
    fixes "error: 'OpenCLConfig' does not name a type" when building
    without OpenCL support
    
    Change-Id: I21b05ca2ea5b197029af0de9b049a3a14b00f714
    Reviewed-on: https://gerrit.libreoffice.org/13667
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/optdlg/calcoptionsdlg.hxx b/sc/source/ui/optdlg/calcoptionsdlg.hxx
index e253a95..1ad8fcf 100644
--- a/sc/source/ui/optdlg/calcoptionsdlg.hxx
+++ b/sc/source/ui/optdlg/calcoptionsdlg.hxx
@@ -59,8 +59,10 @@ private:
 
     SvTreeListEntry *createItem(const OUString &rCaption, const OUString& sValue) const;
     void     setValueAt(size_t nPos, const OUString &rString);
+#if HAVE_FEATURE_OPENCL
     OpenCLConfig::ImplMatcherSet& CurrentWhiteOrBlackList();
     const OpenCLConfig::ImplMatcher& CurrentWhiteOrBlackListEntry();
+#endif
 
 private:
 


More information about the Libreoffice-commits mailing list