]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSpace.cpp
InsetMathHull.cpp: whitespace
[lyx.git] / src / mathed / InsetMathSpace.cpp
index 88701f2f5643d0928d784c5280335cf24042e3a8..b9286087cf26599187d568adf3b50a72906f3dd5 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "frontends/Painter.h"
 
-using std::string;
+using namespace std;
 
 namespace lyx {
 
@@ -147,6 +147,7 @@ void InsetMathSpace::normalize(NormalStream & os) const
 void InsetMathSpace::write(WriteStream & os) const
 {
        if (space_ >= 0 && space_ < nSpace) {
+               MathEnsurer ensurer(os);
                os << '\\' << latex_mathspace[space_];
                os.pendingSpace(true);
        }