[Libreoffice-commits] core.git: vcl/opengl
Stephan Bergmann
sbergman at redhat.com
Thu Apr 7 06:34:49 UTC 2016
vcl/opengl/gdiimpl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 662b327bfb03aacb2ad956d182f87adc131e9e31
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Apr 7 08:34:11 2016 +0200
loplugin:stringconstant
Change-Id: I35551656e5d5d65fd94d60b04e7a07cf1f4be003
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 29ef7ca..355fe21 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -1373,7 +1373,7 @@ bool scaleTexture(const rtl::Reference< OpenGLContext > &xContext,
int nNewWidth = nWidth / ixscale;
int nNewHeight = nHeight / iyscale;
- OpenGLProgram* pProgram = xContext->UseProgram("textureVertexShader", OUString("areaScaleFragmentShader"));
+ OpenGLProgram* pProgram = xContext->UseProgram("textureVertexShader", "areaScaleFragmentShader");
if (pProgram == nullptr)
return false;
More information about the Libreoffice-commits
mailing list