#include <config.h>
#include "InsetMathXYArrow.h"
-#include "MathMLStream.h"
#include "MathStream.h"
#include "MathSupport.h"
#include "frontends/Painter.h"
#include "debug.h"
+namespace lyx {
+
+
using std::max;
target_ = mi.inset ? mi.inset->asXYMatrixInset() : 0;
if (editing()) {
- int w = mathed_string_width(mi.base.font, "target: ");
+ int w = mathed_string_width(mi.base.font, from_ascii("target: "));
width_ = w + max(cell(0).width(), cell(1).width());
ascent_ = cell(0).ascent();
descent_ = cell(0).descent() + cell(1).height() + 10;
InsetMathNest::normalize(os);
os << ']';
}
+
+
+} // namespace lyx