[Libreoffice-commits] core.git: vcl/opengl

Tor Lillqvist tml at collabora.com
Wed Mar 30 05:23:27 UTC 2016


 vcl/opengl/scale.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bf7aabd53c4308e93a5507d039cf10bb7362e3f4
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Mar 30 08:17:26 2016 +0300

    loplugin:stringconstant
    
    Change-Id: I266bc972dbb6ab53920a0b453b181c3f5c608642

diff --git a/vcl/opengl/scale.cxx b/vcl/opengl/scale.cxx
index e8cfdcc..2728cb0 100644
--- a/vcl/opengl/scale.cxx
+++ b/vcl/opengl/scale.cxx
@@ -283,7 +283,7 @@ bool OpenGLSalBitmap::ImplScaleArea( const rtl::Reference< OpenGLContext > &xCon
         ixscale = 1 / rScaleX;
         iyscale = 1 / rScaleY;
 
-        pProgram = xContext->UseProgram("textureVertexShader", OUString("areaScaleFragmentShader"));
+        pProgram = xContext->UseProgram("textureVertexShader", "areaScaleFragmentShader");
         if (pProgram == nullptr)
             return false;
 


More information about the Libreoffice-commits mailing list