The previous code worked because we are writing to the stream, and
the actual odocstream is a member by reference of XHTMLStream.
}
-void InsetTOC::makeTOCWithDepth(XHTMLStream xs,
+void InsetTOC::makeTOCWithDepth(XHTMLStream & xs,
Toc toc, OutputParams const & op) const
{
Toc::const_iterator it = toc.begin();
}
-void InsetTOC::makeTOCNoDepth(XHTMLStream xs,
+void InsetTOC::makeTOCNoDepth(XHTMLStream & xs,
Toc toc, const OutputParams & op) const
{
Toc::const_iterator it = toc.begin();
private:
///
- void makeTOCWithDepth(XHTMLStream xs, Toc toc, const OutputParams & op) const;
+ void makeTOCWithDepth(XHTMLStream & xs, Toc toc, const OutputParams & op) const;
///
- void makeTOCNoDepth(XHTMLStream xs, Toc toc, const OutputParams & op) const;
+ void makeTOCNoDepth(XHTMLStream & xs, Toc toc, const OutputParams & op) const;
///
void makeTOCEntry(XHTMLStream & xs, Paragraph const & par, OutputParams const & op) const;