]> git.lyx.org Git - features.git/commitdiff
* adapt to MacroType
authorStefan Schimanski <sts@lyx.org>
Fri, 21 Dec 2007 20:44:20 +0000 (20:44 +0000)
committerStefan Schimanski <sts@lyx.org>
Fri, 21 Dec 2007 20:44:20 +0000 (20:44 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22244 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/MathMacroTemplate.cpp

index 77cf8350dd87f347225acd6818d769e9bef42b68..6b7493de7f97f33833316a4ea47a0cb397b56c2d 100644 (file)
@@ -122,7 +122,7 @@ MathMacroTemplate::MathMacroTemplate(docstring const & name, int numargs,
 
 MathMacroTemplate::MathMacroTemplate(docstring const & str)
        : InsetMathNest(3), numargs_(0), optionals_(0),
-       type_(from_ascii("newcommand"))
+       type_(MacroTypeNewcommand)
 {
        initMath();