+/**
+ * \file math_fracinset.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Alejandro Aguilar Sierra
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
+#include <config.h>
#include "math_fracinset.h"
-#include "math_support.h"
-#include "frontends/Painter.h"
+#include "math_data.h"
#include "math_mathmlstream.h"
#include "textpainter.h"
+#include "LColor.h"
+#include "frontends/Painter.h"
+using std::string;
using std::max;
+using std::auto_ptr;
MathFracInset::MathFracInset(bool atop)
{}
-MathInset * MathFracInset::clone() const
+auto_ptr<InsetBase> MathFracInset::clone() const
{
- return new MathFracInset(*this);
+ return auto_ptr<InsetBase>(new MathFracInset(*this));
}