]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_inferinset.C
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_inferinset.C
index 0cc5246a6941388a9f5985002e0c62648321b1cb..338cb3142a4fdde9132bd52ce12ebd78c83b0ceb 100644 (file)
@@ -1,25 +1,25 @@
-
 #include "math_inferinset.h"
 #include "math_support.h"
 #include "frontends/Painter.h"
 #include "math_mathmlstream.h"
 #include "textpainter.h"
 
+using std::auto_ptr;
+
 
 MathInferInset::MathInferInset()
        : MathGridInset(1, 1)
 {}
 
 
-MathInset * MathInferInset::clone() const
+auto_ptr<InsetBase> MathInferInset::clone() const
 {
-       return new MathInferInset(*this);
+       return auto_ptr<InsetBase>(new MathInferInset(*this));
 }
 
 
-Dimension MathInferInset::metrics(MetricsInfo &) const
+void MathInferInset::metrics(MetricsInfo &, Dimension &) const
 {
-       return Dimension();
 }