- xmltooling::xstring buf = boost::lexical_cast<xmltooling::xstring>(proper); \
- setTextContent(buf.c_str()); \
+ std::string buf(boost::lexical_cast<std::string>(proper)); \
+ xmltooling::auto_ptr_XMLCh widen(buf.c_str()); \
+ setTextContent(widen.get()); \