summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg
diff options
context:
space:
mode:
authorDouglas Mencken <dougmencken@gmail.com>2014-12-26 22:09:57 -0500
committerCaolán McNamara <caolanm@redhat.com>2015-01-05 20:30:23 +0000
commit87e431946b345f73fb90ff11aa3d1a1e281d7253 (patch)
treee5ebbc8ea4e262c493ef3b7a88491e1fa9e50d5b /sc/source/ui/optdlg
parent2862ef7e65e4994ff3cf173a36ec59b47445455e (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/optdlg')
-rw-r--r--sc/source/ui/optdlg/calcoptionsdlg.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.hxx b/sc/source/ui/optdlg/calcoptionsdlg.hxx
index e253a9567798..1ad8fcf9ca18 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: