-
#include "math_scriptinset.h"
#include "math_support.h"
#include "math_symbolinset.h"
#include "support/LAssert.h"
#include "debug.h"
+using namespace lyx::support;
using std::max;
int MathScriptInset::dx0() const
{
- lyx::Assert(hasDown());
+ Assert(hasDown());
return hasLimits() ? (dim_.wid - down().width()) / 2 : nwid();
}
int MathScriptInset::dx1() const
{
- lyx::Assert(hasUp());
+ Assert(hasUp());
return hasLimits() ? (dim_.wid - up().width()) / 2 : nwid();
}