diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-27 11:53:42 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-27 11:53:42 +0200 |
commit | 432368d1ff0fca43924a498f719c92b944682313 (patch) | |
tree | 96d36f9290bf6fb3abe230d2455c2052ab853718 /cui | |
parent | 280fd1542610af812ada54ad52e71ca674d65f27 (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 |