]> git.lyx.org Git - features.git/commitdiff
uses canonical foprm of clone()
authorAndré Pönitz <poenitz@gmx.net>
Thu, 28 Feb 2008 19:04:13 +0000 (19:04 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Thu, 28 Feb 2008 19:04:13 +0000 (19:04 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23331 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetQuotes.cpp
src/insets/InsetQuotes.h

index 0077bc56ccb94f40ce34a2bbfa0614755ee3e22f..35c1358e506b672824cb9ac6fdedbc3ae5ca3f25 100644 (file)
@@ -376,11 +376,4 @@ void InsetQuotes::validate(LaTeXFeatures & features) const
        }
 }
 
-
-Inset * InsetQuotes::clone() const
-{
-       return new InsetQuotes(language_, side_, times_);
-}
-
-
 } // namespace lyx
index 93ed979cb54f21d89885bd6c24cf07612300bcda..55bd794f189bcfd973f5ca7efac8e6c75a5ebd7b 100644 (file)
@@ -101,7 +101,7 @@ public:
 
 private:
        ///
-       Inset * clone() const;
+       Inset * clone() const { return new InsetQuotes(*this); }
 
        ///
        quote_language language_;