summaryrefslogtreecommitdiff
path: root/src/xml.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-30 00:40:46 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-30 00:40:46 -0400
commitcdb123974cd6657d4e8d47af9aef5a80d49f2810 (patch)
tree6bb28be7dee3adab341dd12f5e07f303155585e7 /src/xml.h
parentc96635fe605f142f0402e5728e5d2a49b48c1453 (diff)
downloadledger-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xml.h b/src/xml.h
index a8fa242e..6a9b4a08 100644
--- a/src/xml.h
+++ b/src/xml.h
@@ -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();