]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetScript.cpp
full support for table rotations; fileformat change
[lyx.git] / src / insets / InsetScript.cpp
index b85b36ee13d8e32f476ccdedd431b66ddc494788..1328e3847a593e216a2b1d868f9f3a75102f0f5b 100644 (file)
@@ -143,7 +143,7 @@ InsetScript::~InsetScript()
 }
 
 
-docstring InsetScript::name() const 
+docstring InsetScript::layoutName() const
 {
        return from_ascii("script:" + scripttranslator().find(params_.type));
 }
@@ -421,9 +421,9 @@ docstring InsetScript::xhtml(XHTMLStream & xs, OutputParams const & runparams) c
 }
 
 
-docstring InsetScript::contextMenuName() const
+string InsetScript::contextMenuName() const
 {
-       return from_ascii("context-script");
+       return "context-script";
 }