]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetquotes.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetquotes.h
index b0cb73ca94dde3616bf6487eb814e96aa7b8d7d6..2b8c41452074ab6715796da7a3577093b661dc0c 100644 (file)
@@ -24,7 +24,7 @@ struct LaTeXFeatures;
 /** Quotes.
   Used for the various quotes. German, English, French, all either
   double or single **/
-class InsetQuotes : public Inset {
+class InsetQuotes : public InsetOld {
 public:
        ///
        enum quote_language {
@@ -68,7 +68,7 @@ public:
        /// Create the right quote inset after character c
        InsetQuotes(char c, BufferParams const & params);
        ///
-       Inset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
@@ -93,7 +93,7 @@ public:
        ///
        void validate(LaTeXFeatures &) const;
        ///
-       Inset::Code lyxCode() const;
+       InsetOld::Code lyxCode() const;
        // should this inset be handled like a normal charater
        bool isChar() const { return true; }