[Libreoffice-commits] core.git: Branch 'distro/cib/libreoffice-6-0' - vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Nov 20 19:56:18 UTC 2018


 vcl/source/outdev/text.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 84a46520ae523db9641eb7ed995ba800bbbaae63
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: Tue Nov 20 20:55:38 2018 +0100

    Fix headless build on Linux
    
    OpenGL helper only needed for Mac here
    
    Change-Id: I8d12f34db3b4875470a0d81e9ef6a1654153b206

diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 6d43a5b9f9a3..f46c2328d63e 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -32,7 +32,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