#include "MathMacroArgument.h"
#include "InsetMathMacro.h"
-#include "MathMLStream.h"
+#include "MathStream.h"
#include "MathSupport.h"
+#include "support/convert.h"
#include "debug.h"
+
+namespace lyx {
+
using std::endl;
using std::auto_ptr;
using std::size_t;
+using std::vector;
MathMacroArgument::MathMacroArgument(size_t n)
lyxerr << "MathMacroArgument::MathMacroArgument: wrong Argument id: "
<< n << endl;
}
- str_[0] = '#';
- str_[1] = static_cast<unsigned char>('0' + n);
- str_[2] = '\0';
+ str_ = '#' + convert<docstring>(n);
}
{
os << "[macroarg " << str_ << "] ";
}
+
+
+} // namespace lyx