summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Mencken <dougmencken@gmail.com>2017-01-08 15:04:12 -0500
committerjan iversen <jani@documentfoundation.org>2017-01-12 11:22:28 +0000
commit77a0817cf46aace4b446d05af13c6905c7c6411a (patch)
tree80d571a68a45390a3372a6dda087aed08efa874e
parent1c1747ac13a9d895df0fcba2fbb1bd266dccd74b (diff)
make the include of OpenGLHelper.hxx not global here
surround it like in pieces of code which actually uses it Change-Id: Iac993553455248a2d2f999f857b781dbdb37acf5 Reviewed-on: https://gerrit.libreoffice.org/32852 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
-rw-r--r--vcl/source/gdi/CommonSalLayout.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx
index 2dd9925abd72..34514788d949 100644
--- a/vcl/source/gdi/CommonSalLayout.cxx
+++ b/vcl/source/gdi/CommonSalLayout.cxx
@@ -19,7 +19,6 @@
#include "CommonSalLayout.hxx"
-#include <vcl/opengl/OpenGLHelper.hxx>
#include <vcl/unohelp.hxx>
#include <scrptrun.h>
#include <com/sun/star/i18n/CharacterIteratorMode.hpp>
@@ -39,6 +38,10 @@ T lround(T x)
}
#endif
+#ifdef _WIN32
+# include <vcl/opengl/OpenGLHelper.hxx>
+#endif
+
static hb_blob_t* getFontTable(hb_face_t* /*face*/, hb_tag_t nTableTag, void* pUserData)
{