]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBox.cpp
Comments.
[lyx.git] / src / insets / InsetBox.cpp
index ccd1d12107123e332696d460ef15a788d44a18fb..03cdc318a4bd3aef4acf0fa5f897f8879f737e62 100644 (file)
@@ -312,7 +312,7 @@ void InsetBox::latex(otexstream & os, OutputParams const & runparams) const
                os << "\\shadowbox{";
                break;
        case Shaded:
-               // must be set later becaue e.g. the width settings only work when
+               // must be set later because e.g. the width settings only work when
                // it is inside a minipage or parbox
                break;
        case Doublebox:
@@ -530,9 +530,9 @@ void InsetBox::validate(LaTeXFeatures & features) const
 }
 
 
-docstring InsetBox::contextMenuName() const
+string InsetBox::contextMenuName() const
 {
-       return from_ascii("context-box");
+       return "context-box";
 }