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

Tor Lillqvist tml at collabora.com
Mon May 9 11:48:48 UTC 2016


 vcl/inc/opengl/RenderState.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f2361df4b60172a3067073b20786afcf215bd588
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon May 9 13:34:01 2016 +0300

    Improve two informative messages
    
    Use 'enable/disable' terminology consistently: don't mix 'enable' and
    'set' in the same phrase if they both actually refer to the same
    thing. Also, don't say that it is 'already set' when it is already
    'disabled'.
    
    Change-Id: If4cea9845b47cdf678d5591f05ac08cc086c9a0b

diff --git a/vcl/inc/opengl/RenderState.hxx b/vcl/inc/opengl/RenderState.hxx
index 3d4af76..0a039a7 100644
--- a/vcl/inc/opengl/RenderState.hxx
+++ b/vcl/inc/opengl/RenderState.hxx
@@ -40,7 +40,7 @@ public:
         }
         else
         {
-            VCL_GL_INFO(TYPE::className() << ": enable called but already set");
+            VCL_GL_INFO(TYPE::className() << ": enable called but already enabled");
         }
 #ifdef DBG_UTIL
         checkState();
@@ -57,7 +57,7 @@ public:
         }
         else
         {
-            VCL_GL_INFO(TYPE::className() << ": disable called but already set");
+            VCL_GL_INFO(TYPE::className() << ": disable called but already disabled");
         }
 #ifdef DBG_UTIL
         checkState();


More information about the Libreoffice-commits mailing list