]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSubstack.C
cursor is no more damaging the background. L-shaped cursor is broken right now....
[lyx.git] / src / mathed / InsetMathSubstack.C
index da840a9637052bcec7e967af8de63b8534e00f41..c89bbc143d7299fa4e91a85e40fde5a8fe94f9c1 100644 (file)
@@ -13,7 +13,7 @@
 #include "LaTeXFeatures.h"
 #include "InsetMathSubstack.h"
 #include "MathData.h"
-#include "MathMLStream.h"
+#include "MathStream.h"
 #include "support/std_ostream.h"
 
 #include "funcrequest.h"
 #include "support/lstrings.h"
 
 
-using lyx::docstring;
-using lyx::support::bformat;
+namespace lyx {
+
+using support::bformat;
+
 using std::string;
 using std::auto_ptr;
 
@@ -67,7 +69,7 @@ bool InsetMathSubstack::getStatus(LCursor & cur, FuncRequest const & cmd,
                docstring const & s = cmd.argument();
                if (s == "add-vline-left" || s == "add-vline-right") {
                        flag.message(bformat(
-                               lyx::from_utf8(N_("Can't add vertical grid lines in '%1$s'")), lyx::from_utf8(name)));
+                               from_utf8(N_("Can't add vertical grid lines in '%1$s'")), lyx::from_utf8(name)));
                        flag.enabled(false);
                        return true;
                }
@@ -79,7 +81,7 @@ bool InsetMathSubstack::getStatus(LCursor & cur, FuncRequest const & cmd,
 }
 
 
-void InsetMathSubstack::infoize(std::ostream & os) const
+void InsetMathSubstack::infoize(odocstream & os) const
 {
        os << "Substack ";
 }
@@ -114,3 +116,6 @@ void InsetMathSubstack::validate(LaTeXFeatures & features) const
        features.require("amsmath");
        InsetMathGrid::validate(features);
 }
+
+
+} // namespace lyx