summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-17 09:32:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-22 11:16:54 +0200
commit51b49228ee7d3bb9788b7ff44e2c1737caa63818 (patch)
tree08a810a27a463537c86a56773adb1e32dc2f03f4 /canvas
parente129d1ae092e3605656ca4c58be3b77495444e5f (diff)
loplugin:unusedfields in avmedia..comphelper
Change-Id: I74f125103b67c506d9bb67537e4c4cd3f8f871da Reviewed-on: https://gerrit.libreoffice.org/54641 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/opengl/ogl_spritedevicehelper.cxx4
1 files changed, 1 insertions, 3 deletions
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);
}