View | Details | Raw Unified
Collapse All | Expand All

(-) libxml++-2.10.0.orig/libxml++/parsers/saxparser.cc (-1 / +1 lines)
 Lines 395-401    Link Here 
    // Here we force the use of Glib::ustring::ustring( InputIterator begin, InputIterator end )
    // Here we force the use of Glib::ustring::ustring( InputIterator begin, InputIterator end )
    // instead of Glib::ustring::ustring( const char*, size_type ) because it
    // instead of Glib::ustring::ustring( const char*, size_type ) because it
    // expects the length of the string in characters, not in bytes.
    // expects the length of the string in characters, not in bytes.
    parser->on_cdata_block(
    parser->on_characters(
        Glib::ustring(
        Glib::ustring(
          reinterpret_cast<const char *>(ch),
          reinterpret_cast<const char *>(ch),
          reinterpret_cast<const char *>(ch + len) ) );
          reinterpret_cast<const char *>(ch + len) ) );