]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetPhantom.cpp
Extend the notermination flag to math as well.
[lyx.git] / src / insets / InsetPhantom.cpp
index 54aa4abd5c5378dfa9e5598aee5b2abc484bc606..5a63957ef8b49ba58f6b8108ad5b9df16d5cdce2 100644 (file)
@@ -126,7 +126,7 @@ InsetPhantom::~InsetPhantom()
 }
 
 
-docstring InsetPhantom::name() const 
+docstring InsetPhantom::layoutName() const
 {
        return from_ascii("Phantom:" + phantomtranslator().find(params_.type));
 }
@@ -358,9 +358,9 @@ docstring InsetPhantom::xhtml(XHTMLStream &, OutputParams const &) const
        return docstring();
 }
 
-docstring InsetPhantom::contextMenuName() const
+string InsetPhantom::contextMenuName() const
 {
-       return from_ascii("context-phantom");
+       return "context-phantom";
 }