[Libreoffice-commits] core.git: chart2/source

Markus Mohrhard markus.mohrhard at googlemail.com
Sun Feb 23 08:15:08 PST 2014


 chart2/source/view/main/DummyXShape.cxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 89679beecfb30893418b353d18e5bbc0221a50d5
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Feb 23 17:14:10 2014 +0100

    make the debug message more readable
    
    Change-Id: I79c3261bb3672c360073f91e320d8aafce09cd2e

diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index 9e9251b..6b28c43 100644
--- a/chart2/source/view/main/DummyXShape.cxx
+++ b/chart2/source/view/main/DummyXShape.cxx
@@ -1290,8 +1290,6 @@ const char* getSourceString(GLenum source)
     return "unknown";
 }
 
-#if 0
-
 const char* getTypeString(GLenum type)
 {
     switch(type)
@@ -1319,8 +1317,6 @@ const char* getTypeString(GLenum type)
     return "unkown";
 }
 
-#endif
-
 extern "C" void
 #if defined _WIN32
 APIENTRY
@@ -1329,7 +1325,7 @@ debug_callback(GLenum source, GLenum type, GLuint id,
         GLenum severity, GLsizei , const GLchar* message, GLvoid* )
 {
     SAL_WARN("chart2.opengl", "OpenGL debug message: source: " << getSourceString(source) << ", type: "
-            << type << ", id: " << id << ", severity: " << getSeverityString(severity) << " with message: " << message);
+            << getTypeString(type) << ", id: " << id << ", severity: " << getSeverityString(severity) << " with message: " << message);
 }
 
 }


More information about the Libreoffice-commits mailing list