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

Stephan Bergmann sbergman at redhat.com
Wed May 21 07:21:51 PDT 2014


 chart2/source/view/main/GL3DRenderer.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 67444a92e4168414a973e68488f84615a7d03e4d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed May 21 16:21:26 2014 +0200

    -Werror,-Wunused-variable
    
    Change-Id: Ie7919740e7e95eb53f7a719e3dc2b114c6fd3862

diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx
index d686009..d6c1dff 100644
--- a/chart2/source/view/main/GL3DRenderer.cxx
+++ b/chart2/source/view/main/GL3DRenderer.cxx
@@ -1601,7 +1601,6 @@ sal_uInt32 OpenGL3DRenderer::GetPixelColorFromPoint(long nX, long nY)
     boost::scoped_array<sal_uInt8> buf(new sal_uInt8[4]);
     glReadPixels(nX, nY, 1, 1, GL_BGRA, GL_UNSIGNED_BYTE, buf.get());
     Color aColor(buf[3], buf[2], buf[1], buf[0]);
-    static sal_Int32 i = 0;
     return aColor.GetColor();
 }
 


More information about the Libreoffice-commits mailing list