diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-30 00:40:46 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-30 00:40:46 -0400 |
commit | cdb123974cd6657d4e8d47af9aef5a80d49f2810 (patch) | |
tree | 6bb28be7dee3adab341dd12f5e07f303155585e7 /src/xml.h | |
parent | c96635fe605f142f0402e5728e5d2a49b48c1453 (diff) | |
download | ledger-cdb123974cd6657d4e8d47af9aef5a80d49f2810.tar.gz ledger-cdb123974cd6657d4e8d47af9aef5a80d49f2810.tar.bz2 ledger-cdb123974cd6657d4e8d47af9aef5a80d49f2810.zip |
Created a new stream.h file for dealing with output streaming.
Diffstat (limited to 'src/xml.h')
-rw-r--r-- | src/xml.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -93,8 +93,8 @@ public: const bool _show_totals = false) : format_entries(_report, ""), show_totals(_show_totals) { TRACE_CTOR(format_xml_entries, "std::ostream&, const bool"); - *report.output_stream << "<?xml version=\"1.0\"?>\n" - << "<ledger version=\"2.5\">\n"; + report.output_stream << "<?xml version=\"1.0\"?>\n" + << "<ledger version=\"2.5\">\n"; } virtual ~format_xml_entries() throw() { TRACE_DTOR(format_xml_entries); @@ -102,7 +102,7 @@ public: virtual void flush() { format_entries::flush(); - *report.output_stream << "</ledger>" << std::endl; + report.output_stream << "</ledger>" << std::endl; } virtual void format_last_entry(); |