]> git.lyx.org Git - lyx.git/commitdiff
compil fix.
authorAbdelrazak Younes <younes@lyx.org>
Thu, 30 Aug 2007 22:30:31 +0000 (22:30 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 30 Aug 2007 22:30:31 +0000 (22:30 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19928 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathHull.cpp
src/mathed/InsetMathXYMatrix.cpp
src/mathed/MathMacroArgument.cpp

index 17d8c4074b74f7ea11c511c42fea6d8aeacaa516..03a98ed3b6b5e9db88b4467795aa2074dc35ca11 100644 (file)
@@ -190,7 +190,7 @@ InsetMathHull::~InsetMathHull()
 
 Inset * InsetMathHull::clone() const
 {
-       new InsetMathHull(*this);
+       return new InsetMathHull(*this);
 }
 
 
index ab1fe83d279452bf431ff6ed86359f643068493f..cc7f530861caf3cc74f940bc4dbc5b6786b12d9e 100644 (file)
@@ -27,7 +27,7 @@ InsetMathXYMatrix::InsetMathXYMatrix(Length const & s, char c)
 
 Inset * InsetMathXYMatrix::clone() const
 {
-       new InsetMathXYMatrix(*this);
+       return new InsetMathXYMatrix(*this);
 }
 
 
index 730d5aa3554c0f0095a6394ff7a62722c8e506d1..01f9a1c9b5a805bf4723722c1470fc5c387d5539 100644 (file)
@@ -42,7 +42,7 @@ MathMacroArgument::MathMacroArgument(size_t n)
 
 Inset * MathMacroArgument::clone() const
 {
-       new MathMacroArgument(*this);
+       return new MathMacroArgument(*this);
 }