diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-31 16:38:50 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-31 16:38:50 (GMT) |
commit | 97415f7b4504d2be65338464731d7bbb4aa4d993 (patch) | |
tree | f65c6db950777a470f586c452bf6f1c7d8e3a7f7 /src/htmlgen.h | |
parent | b2ead3a228cc44b8d3b67a4e71723f30031fa273 (diff) | |
download | Doxygen-97415f7b4504d2be65338464731d7bbb4aa4d993.zip Doxygen-97415f7b4504d2be65338464731d7bbb4aa4d993.tar.gz Doxygen-97415f7b4504d2be65338464731d7bbb4aa4d993.tar.bz2 |
Regression: source code was not longer visible in HTML/LaTeX/docbook output
Diffstat (limited to 'src/htmlgen.h')
-rw-r--r-- | src/htmlgen.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/htmlgen.h b/src/htmlgen.h index 053506d..5c8eff5 100644 --- a/src/htmlgen.h +++ b/src/htmlgen.h @@ -22,10 +22,9 @@ class HtmlCodeGenerator : public CodeOutputInterface { public: HtmlCodeGenerator(TextStream &t,const QCString &relPath); - HtmlCodeGenerator(); + HtmlCodeGenerator(TextStream &t); int id() const { return m_id; } void setId(int id) { m_id = id; } - void setTextStream(TextStream &t); void setRelativePath(const QCString &path); void codify(const char *text); void writeCodeLink(const char *ref,const char *file, @@ -55,8 +54,7 @@ class HtmlCodeGenerator : public CodeOutputInterface const char *anchor,const char *name, const char *tooltip); void docify(const char *str); - bool m_streamSet = false; - TextStream m_t; + TextStream &m_t; int m_col = 0; QCString m_relPath; bool m_lineOpen = false; |