X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathExInt.cpp;h=543a3255a27ef220145600ff20d42626e79cfbd2;hb=12314897982e07afd8926c997f66d7bb08e7e1fd;hp=543daa89e5cafc4d56e96a587f7ca34aaf1b7c08;hpb=32871c1284f15265f652ff01c438e539a7c8181f;p=lyx.git diff --git a/src/mathed/InsetMathExInt.cpp b/src/mathed/InsetMathExInt.cpp index 543daa89e5..543a3255a2 100644 --- a/src/mathed/InsetMathExInt.cpp +++ b/src/mathed/InsetMathExInt.cpp @@ -22,9 +22,6 @@ namespace lyx { - -using std::string; -using std::auto_ptr; using std::endl; @@ -38,9 +35,9 @@ InsetMathExInt::InsetMathExInt(docstring const & name) // 3 - upper -auto_ptr InsetMathExInt::doClone() const +Inset * InsetMathExInt::clone() const { - return auto_ptr(new InsetMathExInt(*this)); + return new InsetMathExInt(*this); } @@ -65,10 +62,9 @@ void InsetMathExInt::normalize(NormalStream & os) const } -bool InsetMathExInt::metrics(MetricsInfo &, Dimension &) const +void InsetMathExInt::metrics(MetricsInfo &, Dimension &) const { lyxerr << "should not happen" << endl; - return true; }