X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathNumber.cpp;h=5237cebab65a95747b5a67c1489950ee0e133ae7;hb=02e82157ec583c3900e359de86be79fac6512387;hp=45e73220fc6d03f20eb6700b4d98866cbd6dd200;hpb=f60dad8aaf61ae7b67229b62ed717e7d2fcc8141;p=lyx.git
diff --git a/src/mathed/InsetMathNumber.cpp b/src/mathed/InsetMathNumber.cpp
index 45e73220fc..5237cebab6 100644
--- a/src/mathed/InsetMathNumber.cpp
+++ b/src/mathed/InsetMathNumber.cpp
@@ -15,6 +15,8 @@
#include "MathStream.h"
#include "MathSupport.h"
+#include "MetricsInfo.h"
+
using namespace std;
@@ -69,10 +71,7 @@ void InsetMathNumber::octave(OctaveStream & os) const
void InsetMathNumber::mathmlize(MathStream & os) const
{
- if (os.inText())
- os << str_;
- else
- os << "" << str_ << "";
+ os << "" << str_ << "";
}