From 51b49228ee7d3bb9788b7ff44e2c1737caa63818 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 17 May 2018 09:32:21 +0200 Subject: loplugin:unusedfields in avmedia..comphelper Change-Id: I74f125103b67c506d9bb67537e4c4cd3f8f871da Reviewed-on: https://gerrit.libreoffice.org/54641 Tested-by: Jenkins Reviewed-by: Noel Grandin --- canvas/source/opengl/ogl_spritedevicehelper.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'canvas') diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx index bab170e37d24..08ab90564c68 100644 --- a/canvas/source/opengl/ogl_spritedevicehelper.cxx +++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx @@ -515,7 +515,6 @@ namespace oglcanvas class BufferContextImpl : public IBufferContext { - ::basegfx::B2IVector maSize; GLuint mnFrambufferId; GLuint mnDepthId; GLuint mnTextureId; @@ -537,12 +536,11 @@ namespace oglcanvas public: explicit BufferContextImpl(const ::basegfx::B2IVector& rSize) : - maSize(rSize), mnFrambufferId(0), mnDepthId(0), mnTextureId(0) { - OpenGLHelper::createFramebuffer(maSize.getX(), maSize.getY(), mnFrambufferId, + OpenGLHelper::createFramebuffer(rSize.getX(), rSize.getY(), mnFrambufferId, mnDepthId, mnTextureId, false); } -- cgit