Hi Richard,

Coverity points out that these two methods pass XHTMLStream and Toc objects by value and not by address. Is this intentional? It seems hazardous, especially in the XHTMLStream case.

        ///
void makeTOCWithDepth(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;
        


JMarc

Reply via email to