X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetPreview.h;h=15380ba543ea75613ee6f3a2e91ff99a48bfb4ef;hb=3588f2f69675df8dbf829800b0ed6e4a455c68b4;hp=039b8e2f45ac06a7b43367853da23136718a7eb5;hpb=3f27f951cbc2521edfbf78792839d61306bdb978;p=lyx.git diff --git a/src/insets/InsetPreview.h b/src/insets/InsetPreview.h index 039b8e2f45..15380ba543 100644 --- a/src/insets/InsetPreview.h +++ b/src/insets/InsetPreview.h @@ -49,8 +49,8 @@ public: 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;