]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetPreview.h
Math.lyx, Tutorial.lyx: fix some typos spotted by a user
[lyx.git] / src / insets / InsetPreview.h
index 439740a4f734bf3fe5ccc08ba45cddf78e9322d4..15380ba543ea75613ee6f3a2e91ff99a48bfb4ef 100644 (file)
@@ -45,12 +45,12 @@ public:
        
        InsetCode lyxCode() const { return PREVIEW_CODE; }
        
-       docstring name() const { return from_ascii("Preview"); }
+       docstring layoutName() const { return from_ascii("Preview"); }
        
        bool descendable(BufferView const & /*bv*/) const { return true; }
 
-       docstring contextMenuName() const
-               { return from_ascii("context-preview"); }
+       std::string contextMenuName() const
+               { return "context-preview"; }
 
        void metrics(MetricsInfo & mi, Dimension & dim) const;