X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetTOC.h;h=ca3f463c5ad610d8aa9c63ebde127296a034d561;hb=eb294eadb5e7f22880da399ae082f74567bbfc4e;hp=8ab1cc84ac5d29123eb5dfdd4c8a63a3654b3cd6;hpb=ba738d0167bcea87df47f49b1bc90b04ae4dbd68;p=lyx.git diff --git a/src/insets/InsetTOC.h b/src/insets/InsetTOC.h index 8ab1cc84ac..ca3f463c5a 100644 --- a/src/insets/InsetTOC.h +++ b/src/insets/InsetTOC.h @@ -33,24 +33,24 @@ public: /// \name Public functions inherited from Inset class //@{ /// - InsetCode lyxCode() const { return TOC_CODE; } + InsetCode lyxCode() const override { return TOC_CODE; } /// - docstring layoutName() const; + docstring layoutName() const override; /// - RowFlags rowFlags() const { return Display; } + int rowFlags() const override { return Display; } /// - virtual void validate(LaTeXFeatures &) const; + void validate(LaTeXFeatures &) const override; /// int plaintext(odocstringstream & ods, OutputParams const & op, - size_t max_length = INT_MAX) const; + size_t max_length = INT_MAX) const override; /// - int docbook(odocstream &, OutputParams const &) const; + void docbook(XMLStream &, OutputParams const &) const override; /// - docstring xhtml(XMLStream & xs, OutputParams const &) const; + docstring xhtml(XMLStream & xs, OutputParams const &) const override; /// - void doDispatch(Cursor & cur, FuncRequest & cmd); + void doDispatch(Cursor & cur, FuncRequest & cmd) override; /// - bool clickable(BufferView const &, int, int) const { return true; } + bool clickable(BufferView const &, int, int) const override { return true; } //@} /// \name Static public methods obligated for InsetCommand derived classes @@ -74,13 +74,13 @@ private: /// \name Private functions inherited from Inset class //@{ /// - Inset * clone() const { return new InsetTOC(*this); } + Inset * clone() const override { return new InsetTOC(*this); } //@} /// \name Private functions inherited from InsetCommand class //@{ /// - docstring screenLabel() const; + docstring screenLabel() const override; //@} };