+/**
+ * \file math_hullinset.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_hullinset.h"
#include "debug.h"
#include "textpainter.h"
#include "funcrequest.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "LaTeXFeatures.h"
-#include "support/LAssert.h"
-#include "frontends/Painter.h"
#include "frontends/Alert.h"
#include "lyxrc.h"
#include "gettext.h"
-#include "BufferView.h"
-
-#include <vector>
-using namespace lyx::support;
+using lyx::support::trim;
-using std::vector;
-using std::max;
using std::endl;
-using std::pair;
+using std::max;
+
using std::auto_ptr;
+using std::istringstream;
+using std::ostringstream;
+using std::pair;
+
namespace {
string MathHullInset::label(row_type row) const
{
row_type n = nrows();
- Assert(row < n);
+ BOOST_ASSERT(row < n);
return label_[row];
}
void MathHullInset::check() const
{
- Assert(nonum_.size() == nrows());
- Assert(label_.size() == nrows());
+ BOOST_ASSERT(nonum_.size() == nrows());
+ BOOST_ASSERT(label_.size() == nrows());
}