X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCaption.h;h=cd99455b2e5fb86c000ff3317a9d7a983f28eea9;hb=dae8555234f0e5c8358b91c307d91b219c664617;hp=58822435cd46a8bd15488dd767fbaad650baf464;hpb=ecef54500d4d77baf4fa47eac2253679875ac08c;p=lyx.git diff --git a/src/insets/InsetCaption.h b/src/insets/InsetCaption.h index 58822435cd..cd99455b2e 100644 --- a/src/insets/InsetCaption.h +++ b/src/insets/InsetCaption.h @@ -23,8 +23,6 @@ public: /// InsetCaption(Buffer *, std::string const &); /// - std::string const & type() const { return type_; } - /// std::string const & floattype() const { return floattype_; } /// docstring layoutName() const; @@ -79,8 +77,9 @@ private: docstring xhtml(XHTMLStream & os, OutputParams const & runparams) const; /// void setCustomLabel(docstring const & label); - /// - void addToToc(DocIterator const &) const; + /// \param output_active : is the toc being generated for use by the + /// output routines? + void addToToc(DocIterator const & di, bool output_active) const; /// virtual bool forcePlainLayout(idx_type = 0) const { return true; } /// Captions don't accept alignment, spacing, etc.