]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.cpp
Replace a half-baked attempt to remove \lyxdot from the directory part of
[lyx.git] / src / insets / InsetIndex.cpp
index bec5a90e097d7ac298753d86afa0e13728f943f4..51ba81be84ff9999b7238b6065ff0862241ac122 100644 (file)
@@ -373,9 +373,9 @@ void InsetIndex::validate(LaTeXFeatures & features) const
 }
 
 
-docstring InsetIndex::contextMenuName() const
+string InsetIndex::contextMenuName() const
 {
-       return from_ascii("context-index");
+       return "context-index";
 }
 
 
@@ -572,10 +572,10 @@ void InsetPrintIndex::validate(LaTeXFeatures & features) const
 }
 
 
-docstring InsetPrintIndex::contextMenuName() const
+string InsetPrintIndex::contextMenuName() const
 {
        return buffer().masterBuffer()->params().use_indices ?
-               from_ascii("context-indexprint") : docstring();
+               "context-indexprint" : string();
 }