]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
Use home made code for the bool facet.
[lyx.git] / src / insets / InsetCitation.h
index 5b6a24964e2004b1c6a214f57611ad2dd77b2bf2..e705fcb6bdd65dcb8706105442558c8fcd47498d 100644 (file)
@@ -33,16 +33,16 @@ public:
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       InsetBase::Code lyxCode() const { return InsetBase::CITE_CODE; }
+       Inset::Code lyxCode() const { return Inset::CITE_CODE; }
        ///
        int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+                 OutputParams const &) const;
        ///
        int plaintext(Buffer const &, odocstream &,
-                     OutputParams const &) const;
+                     OutputParams const &) const;
        ///
        int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const;
+                   OutputParams const &) const;
        /// the string that is passed to the TOC
        virtual int textString(Buffer const &, odocstream &,
                OutputParams const &) const;
@@ -52,9 +52,9 @@ public:
        void replaceContents(std::string const & from, std::string const & to);
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const
+       virtual std::auto_ptr<Inset> doClone() const
        {
-               return std::auto_ptr<InsetBase>(new InsetCitation(params()));
+               return std::auto_ptr<Inset>(new InsetCitation(params()));
        }
 
        /// This function does the donkey work of creating the pretty label