13
0

GUI use updated XML::read_buffer API

This commit is contained in:
Robin Gareus 2020-04-23 02:26:27 +02:00
parent 705ac7bfc5
commit 1e380b1e2e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
3 changed files with 5 additions and 5 deletions

View File

@ -703,7 +703,7 @@ ExportVideoDialog::launch_export ()
" </Silence>"
" </Processing>"
"</ExportFormatSpecification>"
));
).c_str());
boost::shared_ptr<ExportFormatSpecification> fmp = _session->get_export_handler()->add_format(*tree.root());
/* set up range */

View File

@ -1207,7 +1207,7 @@ SoundFileBrowser::freesound_search()
void
SoundFileBrowser::handle_freesound_results(std::string theString) {
XMLTree doc;
doc.read_buffer( theString );
doc.read_buffer (theString.c_str());
XMLNode *root = doc.root();
if (!root) {

View File

@ -122,7 +122,7 @@ static int export_session (Session *session,
" </Silence>"
" </Processing>"
"</ExportFormatSpecification>"
));
).c_str());
boost::shared_ptr<ExportFormatSpecification> fmp = session->get_export_handler()->add_format(*tree.root());