summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-07 08:34:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-07 08:34:11 +0200
commit662b327bfb03aacb2ad956d182f87adc131e9e31 (patch)
treee319585bad2aadf8e4e4209d3362ac4d33fc383c /vcl
parentf6695647b6c96a1875fd05a59e840ead11cd5520 (diff)
loplugin:stringconstant
Change-Id: I35551656e5d5d65fd94d60b04e7a07cf1f4be003
Diffstat (limited to 'vcl')
-rw-r--r--vcl/opengl/gdiimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 29ef7ca80d2b..355fe21fc6ea 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;