]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.h
Merge branch 'master' into biblatex2
[lyx.git] / src / insets / InsetListings.h
index 83debfff83f4b5d6adff93c28c858656e6904d6a..902fa0437e64009770293859e2540322c3b53fd9 100644 (file)
@@ -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_;