diff options
Diffstat (limited to 'src/qhp.cpp')
-rw-r--r-- | src/qhp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qhp.cpp b/src/qhp.cpp index dd199ad..47131be 100644 --- a/src/qhp.cpp +++ b/src/qhp.cpp @@ -172,7 +172,8 @@ void Qhp::finalize() { term("Could not open file %s for writing\n", fileName.data()); } - m_doc.dumpTo(file); + TextStream t(&file); + m_doc.dumpTo(t); } void Qhp::incContentsDepth() |