This commit is contained in:
jez_higgins 2003-09-15 13:13:05 +00:00
parent c236102d0d
commit 0e0a73dbe7

View file

@ -269,7 +269,7 @@ class xerces_wrapper : public SAX::basic_ProgressiveParser<string_type>
{ {
if(str) if(str)
{ {
xerces_string_janitor<char> cstr = XERCES_CPP_NAMESPACE::XMLString::transcode(str); xerces_string_janitor<char> cstr(XERCES_CPP_NAMESPACE::XMLString::transcode(str));
return base::makeStringT(cstr.get()); return base::makeStringT(cstr.get());
} }
return base::makeStringT(""); return base::makeStringT("");