]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExInt.cpp
* dynamic macros as described in http://1stein.org/download/dynmacro.pdf
[lyx.git] / src / mathed / InsetMathExInt.cpp
index 23fca486bcdec8690a237be9cc95a6c8e595c3a1..543a3255a27ef220145600ff20d42626e79cfbd2 100644 (file)
@@ -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<InsetBase> InsetMathExInt::doClone() const
+Inset * InsetMathExInt::clone() const
 {
-       return auto_ptr<InsetBase>(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;
 }