summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 6fd18c8a4f3a..b8e6e3112aa1 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -470,8 +470,9 @@ private:
Display* mdpy;
public:
- TempErrorHandler(Display* dpy, errorHandler newErrorHandler):
- mdpy(dpy)
+ TempErrorHandler(Display* dpy, errorHandler newErrorHandler)
+ : oldErrorHandler(0)
+ , mdpy(dpy)
{
if (mdpy)
{