]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.h
* Inset: Prepare for an eventual merge of updateLabels() and addToToc()
[lyx.git] / src / insets / InsetRef.h
index f4ec7b493d21ed023b07cfce47da4769425dcb9e..f45f731f1028922b65eb3cd96f42db9987c9a44b 100644 (file)
@@ -53,8 +53,7 @@ public:
        ///
        int docbook(Buffer const &, odocstream &, OutputParams const &) const;
        /// the string that is passed to the TOC
-       virtual int textString(Buffer const &, odocstream &,
-               OutputParams const &) const;
+       void textString(Buffer const &, odocstream &) const;
        ///
        void validate(LaTeXFeatures & features) const;
        ///
@@ -64,14 +63,14 @@ public:
        ///
        static bool isCompatibleCommand(std::string const & s);
 protected:
+       ///
        InsetRef(InsetRef const &);
 
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
-       virtual Inset * clone() const {
-               return new InsetRef(*this);
-       }
+       ///
+       Inset * clone() const { return new InsetRef(*this); }
        ///
        bool isLatex;
 };