[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - vcl/headless vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Nov 21 09:57:23 UTC 2018


 vcl/headless/svpinst.cxx   |    4 +++-
 vcl/source/outdev/text.cxx |    4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

New commits:
commit b51ca21cd6435a8c8df8df99e4d75a59ea9a2bf1
Author:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
AuthorDate: Tue Nov 20 20:53:50 2018 +0100
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Wed Nov 21 10:57:01 2018 +0100

    Fix headless build on Linux
    
    Conditional-compile some OpenGL-ness that crept in
    
    Change-Id: I8d12f34db3b4875470a0d81e9ef6a1654153b206
    Reviewed-on: https://gerrit.libreoffice.org/63676
    Tested-by: Jenkins
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    (cherry picked from commit 2bf8469cbca01e53043097708909f6cdf2aae264)
    Reviewed-on: https://gerrit.libreoffice.org/63688

diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx
index 5f7176e748d1..330b69ab27dd 100644
--- a/vcl/headless/svpinst.cxx
+++ b/vcl/headless/svpinst.cxx
@@ -28,7 +28,9 @@
 #include <sal/log.hxx>
 
 #include <vcl/inputtypes.hxx>
-#include <vcl/opengl/OpenGLContext.hxx>
+#ifndef LIBO_HEADLESS
+# include <vcl/opengl/OpenGLContext.hxx>
+#endif
 
 #include <headless/svpinst.hxx>
 #include <headless/svpframe.hxx>
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index c6dbedddbe5c..2bb81ad8da2d 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -35,7 +35,9 @@
 #include <vcl/sysdata.hxx>
 #include <vcl/unohelp.hxx>
 #include <vcl/controllayout.hxx>
-#include <vcl/opengl/OpenGLHelper.hxx>
+#ifdef MACOSX
+# include <vcl/opengl/OpenGLHelper.hxx>
+#endif
 
 #include <outdata.hxx>
 #include <outdev.h>


More information about the Libreoffice-commits mailing list