]> git.lyx.org Git - features.git/blobdiff - src/insets/Inset.cpp
First step of InsetLayout cleanup.
[features.git] / src / insets / Inset.cpp
index 720254a7244a9670816b381eda588d63ab8b4f6e..620e995e66086c3262bcc472668f0e6e81c1cbeb 100644 (file)
@@ -448,9 +448,9 @@ bool Inset::covers(BufferView const & bv, int x, int y) const
 }
 
 
-InsetLayout const & Inset::getLayout(BufferParams const & bp) const
+InsetLayout const & Inset::getLayout() const
 {
-       return bp.documentClass().insetLayout(name());
+       return buffer().params().documentClass().insetLayout(name());
 }