From 8a45e185dc2a2ed756176be9229702c524a36872 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 30 Aug 2007 22:30:31 +0000 Subject: [PATCH] compil fix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19928 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathHull.cpp | 2 +- src/mathed/InsetMathXYMatrix.cpp | 2 +- src/mathed/MathMacroArgument.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 17d8c4074b..03a98ed3b6 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -190,7 +190,7 @@ InsetMathHull::~InsetMathHull() Inset * InsetMathHull::clone() const { - new InsetMathHull(*this); + return new InsetMathHull(*this); } diff --git a/src/mathed/InsetMathXYMatrix.cpp b/src/mathed/InsetMathXYMatrix.cpp index ab1fe83d27..cc7f530861 100644 --- a/src/mathed/InsetMathXYMatrix.cpp +++ b/src/mathed/InsetMathXYMatrix.cpp @@ -27,7 +27,7 @@ InsetMathXYMatrix::InsetMathXYMatrix(Length const & s, char c) Inset * InsetMathXYMatrix::clone() const { - new InsetMathXYMatrix(*this); + return new InsetMathXYMatrix(*this); } diff --git a/src/mathed/MathMacroArgument.cpp b/src/mathed/MathMacroArgument.cpp index 730d5aa355..01f9a1c9b5 100644 --- a/src/mathed/MathMacroArgument.cpp +++ b/src/mathed/MathMacroArgument.cpp @@ -42,7 +42,7 @@ MathMacroArgument::MathMacroArgument(size_t n) Inset * MathMacroArgument::clone() const { - new MathMacroArgument(*this); + return new MathMacroArgument(*this); }