[Libreoffice-commits] core.git: canvas/source
Stephan Bergmann
sbergman at redhat.com
Fri Aug 8 01:10:34 PDT 2014
canvas/source/opengl/ogl_spritedevicehelper.cxx | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
New commits:
commit 12a1179bcb2655f7415afe5e373b2c130cedf6e1
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Aug 8 10:10:00 2014 +0200
-Werror,-Wunused-private-field
Change-Id: I03d8f81b17341e128c9c0517ecca2a76f7b4552c
diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx
index 3f6b534..76da6e1 100644
--- a/canvas/source/opengl/ogl_spritedevicehelper.cxx
+++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx
@@ -540,7 +540,6 @@ namespace oglcanvas
class BufferContextImpl : public IBufferContext
{
::basegfx::B2IVector maSize;
- const SpriteDeviceHelper& mrDeviceHelper;
GLuint mnFrambufferId;
GLuint mnDepthId;
GLuint mnTextureId;
@@ -563,10 +562,8 @@ namespace oglcanvas
}
public:
- BufferContextImpl(const SpriteDeviceHelper& rDeviceHelper,
- const ::basegfx::B2IVector& rSize) :
+ BufferContextImpl(const ::basegfx::B2IVector& rSize) :
maSize(rSize),
- mrDeviceHelper(rDeviceHelper),
mnFrambufferId(0),
mnDepthId(0),
mnTextureId(0)
@@ -586,7 +583,7 @@ namespace oglcanvas
IBufferContextSharedPtr SpriteDeviceHelper::createBufferContext(const ::basegfx::B2IVector& rSize) const
{
- return IBufferContextSharedPtr(new BufferContextImpl(*this, rSize));
+ return IBufferContextSharedPtr(new BufferContextImpl(rSize));
}
TextureCache& SpriteDeviceHelper::getTextureCache() const
More information about the Libreoffice-commits
mailing list