X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_hullinset.C;h=f307e21454111c5e9d29b378d8abfdc86bfa23b7;hb=cd03e2b7db8379a91f3d31eac2c5bc25b159c541;hp=6a9bb0dfb4de4791da20da5474463b2b33818d34;hpb=236ea81bc5c0ce7101c9460d1ee97b8f3c9be9df;p=lyx.git diff --git a/src/mathed/math_hullinset.C b/src/mathed/math_hullinset.C index 6a9bb0dfb4..f307e21454 100644 --- a/src/mathed/math_hullinset.C +++ b/src/mathed/math_hullinset.C @@ -22,20 +22,21 @@ #include "funcrequest.h" #include "support/std_sstream.h" #include "LaTeXFeatures.h" -#include "support/LAssert.h" #include "frontends/Alert.h" #include "lyxrc.h" #include "gettext.h" +using lyx::support::trim; -using namespace lyx::support; - -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 { @@ -261,7 +262,7 @@ void MathHullInset::drawT(TextPainter & pain, int x, int y) const string MathHullInset::label(row_type row) const { row_type n = nrows(); - Assert(row < n); + BOOST_ASSERT(row < n); return label_[row]; } @@ -670,8 +671,8 @@ void MathHullInset::infoize(std::ostream & os) const void MathHullInset::check() const { - Assert(nonum_.size() == nrows()); - Assert(label_.size() == nrows()); + BOOST_ASSERT(nonum_.size() == nrows()); + BOOST_ASSERT(label_.size() == nrows()); }