mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[xml] casts
This commit is contained in:
parent
647e00f950
commit
dc1efd8158
@ -53,7 +53,7 @@ render_source_document_cxx(struct cache_entry *cached, struct document *document
|
|||||||
document->dom = document_parse(document);
|
document->dom = document_parse(document);
|
||||||
}
|
}
|
||||||
if (document->dom) {
|
if (document->dom) {
|
||||||
xmlpp::Document *docu = document->dom;
|
xmlpp::Document *docu = (xmlpp::Document *)document->dom;
|
||||||
xmlpp::ustring text = docu->write_to_string_formatted(get_cp_mime_name(document->cp));
|
xmlpp::ustring text = docu->write_to_string_formatted(get_cp_mime_name(document->cp));
|
||||||
struct string tt;
|
struct string tt;
|
||||||
if (init_string(&tt)) {
|
if (init_string(&tt)) {
|
||||||
|
@ -302,7 +302,7 @@ render_xhtml_document(struct cache_entry *cached, struct document *document, str
|
|||||||
if (cached->head) add_to_string(&head, cached->head);
|
if (cached->head) add_to_string(&head, cached->head);
|
||||||
}
|
}
|
||||||
|
|
||||||
xmlpp::Document *doc = document->dom;
|
xmlpp::Document *doc = (xmlpp::Document *)document->dom;
|
||||||
|
|
||||||
if (!buffer) {
|
if (!buffer) {
|
||||||
xmlpp::ustring text = doc->write_to_string_formatted();
|
xmlpp::ustring text = doc->write_to_string_formatted();
|
||||||
|
Loading…
Reference in New Issue
Block a user