]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathSpace.cpp
Introduce a return value for mathmlize(). We will need this to be able
[features.git] / src / mathed / InsetMathSpace.cpp
index c771d2595bcd402c2d7521354353bde781cf1943..b2a321234df7366418156ade3ebf5af2004b3f90 100644 (file)
@@ -192,11 +192,11 @@ void InsetMathSpace::octave(OctaveStream & os) const
 }
 
 
-void InsetMathSpace::mathmlize(MathStream & ms) const
+docstring InsetMathSpace::mathmlize(MathStream & ms) const
 {
        SpaceInfo const & si = space_info[space_];
        if (si.negative || !si.visible)
-               return;
+               return docstring();
        string l;
        if (si.custom)
                l = length_.asHTMLString();
@@ -210,6 +210,7 @@ void InsetMathSpace::mathmlize(MathStream & ms) const
        if (!l.empty())
                ms << " width=\"" << from_ascii(l) << "\"";
        ms << " />";
+       return docstring();
 }