]> git.lyx.org Git - features.git/commitdiff
2002-05-30 Lars Gullik Bj�nnes <larsbj@birdstep.com>
authorLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 30 May 2002 09:43:29 +0000 (09:43 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 30 May 2002 09:43:29 +0000 (09:43 +0000)
insetexternal.C (clone): fix () bug when using new

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4293 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/insetexternal.C

index 0a02d78274e63287e0b38db1dc10663d739720b8..b973c71494ab717b2b406656a72fc807bc68ea12 100644 (file)
@@ -1,7 +1,11 @@
+2002-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * insetexternal.C (clone): fix () bug when using new
+
 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
 
        * insettabular.C: add const
+
 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
 
        * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
index 6b21708458b10af937e387ffe1861eefccbf47ae..dd735bef019050e615cdd27337d03afe06181369 100644 (file)
@@ -197,7 +197,7 @@ void InsetExternal::validate(LaTeXFeatures & features) const
 
 Inset * InsetExternal::clone(Buffer const &, bool same_id) const
 {
-       InsetExternal * inset = new InsetExternal();
+       InsetExternal * inset = new InsetExternal;
        inset->params_ = params_;
        inset->view_ = view_;
        if (same_id)