summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-02-23 17:14:10 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-02-23 17:14:10 +0100
commit89679beecfb30893418b353d18e5bbc0221a50d5 (patch)
tree011cdcebc864871a37190b9571f22e709fa9722a /chart2
parent38940e29e3181ab7ecf83da5454b48f43188d5e6 (diff)
make the debug message more readable
Change-Id: I79c3261bb3672c360073f91e320d8aafce09cd2e
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/DummyXShape.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index 9e9251b0cdf0..6b28c43b4aee 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);
}
}