diff --git a/src/insets/InsetQuotes.cpp b/src/insets/InsetQuotes.cpp index 0077bc56cc..35c1358e50 100644 --- a/src/insets/InsetQuotes.cpp +++ b/src/insets/InsetQuotes.cpp @@ -376,11 +376,4 @@ void InsetQuotes::validate(LaTeXFeatures & features) const } } - -Inset * InsetQuotes::clone() const -{ - return new InsetQuotes(language_, side_, times_); -} - - } // namespace lyx diff --git a/src/insets/InsetQuotes.h b/src/insets/InsetQuotes.h index 93ed979cb5..55bd794f18 100644 --- a/src/insets/InsetQuotes.h +++ b/src/insets/InsetQuotes.h @@ -101,7 +101,7 @@ public: private: /// - Inset * clone() const; + Inset * clone() const { return new InsetQuotes(*this); } /// quote_language language_;