-#include <config.h>
+/**
+ * \file math_tabularinset.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+#include <config.h>
#include "math_tabularinset.h"
-#include "math_parser.h"
+#include "math_data.h"
#include "math_mathmlstream.h"
-#include "metricsinfo.h"
#include "math_streamstr.h"
-#include "Lsstream.h"
#include <iterator>
-using std::vector;
-using std::istringstream;
-using std::getline;
-using std::istream_iterator;
+
+using std::string;
+using std::auto_ptr;
MathTabularInset::MathTabularInset(string const & name, int m, int n)
{}
-InsetBase * MathTabularInset::clone() const
+auto_ptr<InsetBase> MathTabularInset::doClone() const
{
- return new MathTabularInset(*this);
+ return auto_ptr<InsetBase>(new MathTabularInset(*this));
}
-void MathTabularInset::metrics(MetricsInfo & mi, Dimension & dim) const
+void MathTabularInset::metrics(MetricsInfo & mi, Dimension & /*dim*/) const
{
FontSetChanger dummy(mi.base, "textnormal");
return MathGridInset::metrics(mi);