summaryrefslogtreecommitdiff
path: root/vcl/opengl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-12 15:12:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-12 16:12:18 +0200
commit240974561685ff44c1abf5157a043d0fde4654d1 (patch)
tree26f2bca7a3c1e34c4656906ae6d7e5cad260623a /vcl/opengl
parent1334ee97787aa7cea399fa7f1633aea84ff8047d (diff)
loplugin:simplifyconstruct in ucbhelper..vcl
Change-Id: Id435bb3289dcfd9a7aeca6a661e249085958cb7c Reviewed-on: https://gerrit.libreoffice.org/60392 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/opengl')
-rw-r--r--vcl/opengl/gdiimpl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 9fff1d50cc13..4c966bd408ef 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -69,8 +69,7 @@ public:
};
OpenGLSalGraphicsImpl::OpenGLSalGraphicsImpl(SalGraphics& rParent, SalGeometryProvider *pProvider)
- : mpContext(nullptr)
- , mrParent(rParent)
+ : mrParent(rParent)
, mpProvider(pProvider)
, mpProgram(nullptr)
, mpFlush(new OpenGLFlushIdle(this))