[Libreoffice-commits] core.git: Branch 'feature/chart-3d-chart2' - chart2/source
Stephan Bergmann
sbergman at redhat.com
Thu May 22 04:26:16 PDT 2014
chart2/source/view/main/GL3DRenderer.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 156f793e6c592c08e62d641080a6c2f386121548
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