diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-02-23 17:14:10 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-02-23 17:14:10 +0100 |
commit | 89679beecfb30893418b353d18e5bbc0221a50d5 (patch) | |
tree | 011cdcebc864871a37190b9571f22e709fa9722a /chart2 | |
parent | coverity#735534 Dead default in switch (diff) | |
download | core-89679beecfb30893418b353d18e5bbc0221a50d5.tar.gz core-89679beecfb30893418b353d18e5bbc0221a50d5.zip |
make the debug message more readable
Change-Id: I79c3261bb3672c360073f91e320d8aafce09cd2e
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/main/DummyXShape.cxx | 6 |
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); } } |