X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetListings.h;h=902fa0437e64009770293859e2540322c3b53fd9;hb=239b9919ffe28338d789e6dc9122228f77ab77a7;hp=83debfff83f4b5d6adff93c28c858656e6904d6a;hpb=676a0639c505d52336e3228c44c2515ccbbaf34a;p=lyx.git diff --git a/src/insets/InsetListings.h b/src/insets/InsetListings.h index 83debfff83..902fa0437e 100644 --- a/src/insets/InsetListings.h +++ b/src/insets/InsetListings.h @@ -18,7 +18,7 @@ namespace lyx { class LaTeXFeatures; -class TexString; +struct TexString; ///////////////////////////////////////////////////////////////////////// // @@ -78,7 +78,7 @@ private: /// TexString getCaption(OutputParams const &) const; /// - bool insetAllowed(InsetCode c) const { return c == CAPTION_CODE; } + bool insetAllowed(InsetCode c) const { return c == CAPTION_CODE || c == QUOTE_CODE; } /// InsetListingsParams params_;