]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.h
Fix crash after undo following replacement of a multicell selection (#8973).
[lyx.git] / src / insets / InsetListings.h
index 18125dc3bb6f0a765eb4cc2a27b4667f809a73e0..0782d68ec7c2f6f5b42d6f7d547b32accf88ec28 100644 (file)
@@ -47,7 +47,7 @@ private:
        /// lstinline is inlined, normal listing is displayed
        DisplayType display() const;
        ///
-       docstring name() const { return from_ascii("Listings"); }
+       docstring layoutName() const { return from_ascii("Listings"); }
        // Update the counters of this inset and of its contents
        void updateBuffer(ParIterator const &, UpdateType);
        ///
@@ -67,7 +67,7 @@ private:
        ///
        InsetListingsParams & params() { return params_; }
        ///
-       docstring contextMenuName() const;
+       std::string contextMenuName() const;
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///