[Libreoffice-commits] core.git: canvas/source

Stephan Bergmann sbergman at redhat.com
Tue Oct 8 00:26:19 PDT 2013


 canvas/source/opengl/ogl_spritedevicehelper.cxx |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

New commits:
commit 2f5f2c7d3c9a855682b95b428c35cbe3ca2b3fac
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Oct 8 09:25:52 2013 +0200

    -Werror,-Wunused-private-field
    
    Change-Id: Ie8aaab5fb6042c4845cb5355db2ee1a1c66d9d92

diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx
index cb96f2e..f83f8a8 100644
--- a/canvas/source/opengl/ogl_spritedevicehelper.cxx
+++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx
@@ -1162,7 +1162,9 @@ namespace oglcanvas
             ::basegfx::B2IVector       maSize;
             const SpriteDeviceHelper&  mrDeviceHelper;
             unx::GLXPbuffer            mpPBuffer;
+#if 0
             unx::Display*              mpDisplay;
+#endif
             unsigned int               mnTexture;
 
             virtual bool startBufferRendering()
@@ -1184,12 +1186,18 @@ namespace oglcanvas
         public:
             BufferContextImpl(const SpriteDeviceHelper&   rDeviceHelper,
                               unx::GLXPbuffer             pBuffer,
-                              unx::Display*               pDisplay,
+                              unx::Display*
+#if 0
+                                                          pDisplay
+#endif
+                              ,
                               const ::basegfx::B2IVector& rSize) :
                 maSize(rSize),
                 mrDeviceHelper(rDeviceHelper),
                 mpPBuffer(pBuffer),
+#if 0
                 mpDisplay(pDisplay),
+#endif
                 mnTexture(0)
             {
                 glGenTextures( 1, &mnTexture );


More information about the Libreoffice-commits mailing list