summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-11-15 18:38:16 +0200
committerTor Lillqvist <tml@iki.fi>2012-11-15 18:38:41 +0200
commitf1dfc1f23f83f410172170d7b80d8f987f04635a (patch)
tree5e5c90b7d5b938df2d8cd711b4b0a4fd5aedecdf /shell
parent8cd76e0fd8de4ee3173f819d690efc47b43f8c38 (diff)
Bin leftover debugging printout
Change-Id: I9ff9f53cedb34ff896104b39322edab91aa5cbdc
Diffstat (limited to 'shell')
-rw-r--r--shell/source/all/xml_parser.cxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/shell/source/all/xml_parser.cxx b/shell/source/all/xml_parser.cxx
index 23e43d5f8d6e..e88abf63ee32 100644
--- a/shell/source/all/xml_parser.cxx
+++ b/shell/source/all/xml_parser.cxx
@@ -123,8 +123,6 @@ static void xml_end_element_handler(void* UserData, const XML_Char* name)
static void xml_character_data_handler(void* UserData, const XML_Char* s, int len)
{
- static int count = 0;
-
assert(UserData);
xml_parser* pImpl = get_parser_instance(UserData);
@@ -136,26 +134,6 @@ static void xml_character_data_handler(void* UserData, const XML_Char* s, int le
else
pDocHdl->characters(UTF8ToWString(std::string(reinterpret_cast<const char*>(s), len)));
}
-#if 0
- if (count < 5) {
- char buf[1000];
- sprintf(buf,
- "%s: len=%d\n"
- "s=%.10s\n"
- "pDocHdl=%p has_only_whitespaces()=%d\n"
- "string=%S",
- "xml_character_data_handler",
- len,
- s,
- pDocHdl,
- has_only_whitespaces(s,len),
- UTF8ToWString(std::string(reinterpret_cast<const char*>(s), len)).c_str()
- );
-
- MessageBoxA(NULL, buf, "xml_character_data_handler", MB_OK);
- count++;
- }
-#endif
}
static void xml_comment_handler(void* UserData, const XML_Char* Data)