cui/source/options/treeopt.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 432368d1ff0fca43924a498f719c92b944682313
Author: Tor Lillqvist <t...@collabora.com>
Date:   Thu Nov 27 11:53:42 2014 +0200

    Fix OpenCL-less build
    
    Change-Id: I36a0151640067e3d040ebf46784bdb8c534153e1

diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 772f80f..46673d2 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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to