]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.cpp
try to pass a Buffer & to inset construction if some buffer(param)
[lyx.git] / src / insets / InsetListings.cpp
index c4497ded2f5c90c9d8e466ad12c05ca6927f2cb8..0b63ec28e6783c45f3bd06a9da710068096c7d42 100644 (file)
@@ -41,8 +41,8 @@ namespace lyx {
 char const lstinline_delimiters[] =
        "!*()-=+|;:'\"`,<.>/?QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm";
 
-InsetListings::InsetListings(BufferParams const & bp, InsetListingsParams const & par)
-       : InsetCollapsable(bp, par.status())
+InsetListings::InsetListings(Buffer const & buf, InsetListingsParams const & par)
+       : InsetCollapsable(buf, par.status())
 {}