diff options
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.cc b/src/main.cc index 0e46a926..2b9b71f0 100644 --- a/src/main.cc +++ b/src/main.cc @@ -36,7 +36,7 @@ //#endif //#include "qif.h" //#include "ofx.h" -#include "builder.h" +#include "jbuilder.h" #include <ledger.h> @@ -192,9 +192,9 @@ static int read_and_report(ledger::report_t& report, int argc, char * argv[], INFO_START(journal, "Read journal file"); - xml::document_t xml_document(xml::LEDGER_NODE); - journal_t * journal = session.create_journal(); - xml::document_builder_t builder(xml_document); + xml::document_t xml_document(xml::LEDGER_NODE); + journal_t * journal = session.create_journal(); + xml::journal_builder_t builder(xml_document, journal); if (! session.read_data(builder, journal, report.account)) throw_(parse_error, "Failed to locate any journal entries; " |