diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-27 11:53:42 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-28 10:23:19 +0200 |
commit | cae26b40472d151f12a380610dceb3a3b50344a2 (patch) | |
tree | ec218ce6d362c9c646354f64a4c56f34b09952fb /cui | |
parent | db0610e7b2db24ebd55fe16ac18341c97c97e110 (diff) |
Fix OpenCL-less build
Change-Id: I36a0151640067e3d040ebf46784bdb8c534153e1
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/treeopt.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 772f80f8fb10..46673d20e1b7 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -47,7 +47,9 @@ #include "optjsearch.hxx" #include "optlingu.hxx" #include "optmemory.hxx" +#if HAVE_FEATURE_OPENCL #include "optopencl.hxx" +#endif #include "optpath.hxx" #include "optsave.hxx" #include "optupdt.hxx" @@ -321,7 +323,9 @@ SfxTabPage* CreateGeneralTabPage( sal_uInt16 nId, vcl::Window* pParent, const Sf case RID_SVXPAGE_ACCESSIBILITYCONFIG: fnCreate = &SvxAccessibilityOptionsTabPage::Create; break; case RID_SVXPAGE_OPTIONS_CTL: fnCreate = &SvxCTLOptionsPage::Create ; break; case RID_SVXPAGE_OPTIONS_JAVA: fnCreate = &SvxJavaOptionsPage::Create ; break; +#if HAVE_FEATURE_OPENCL case RID_SVXPAGE_OPENCL: fnCreate = &SvxOpenCLTabPage::Create ; break; +#endif case RID_SVXPAGE_ONLINEUPDATE: fnCreate = &SvxOnlineUpdateTabPage::Create; break; case RID_OPTPAGE_CHART_DEFCOLORS: fnCreate = &SvxDefaultColorOptPage::Create; break; #if HAVE_FEATURE_SCRIPTING |