summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 70ec988fc0d8..c19f8f532df9 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -12,8 +12,6 @@
using namespace com::sun::star;
-namespace {
-
#ifdef DBG_UTIL
namespace {
@@ -100,6 +98,8 @@ debug_callback(GLenum source, GLenum type, GLuint id,
#endif
+namespace {
+
#if defined( UNX )
static bool errorTriggered;
int oglErrorHandler( Display* /*dpy*/, XErrorEvent* /*evnt*/ )