diff --git a/src/mathed/InsetMathMBox.cpp b/src/mathed/InsetMathMBox.cpp index 0d05d10c36..a3947f39bc 100644 --- a/src/mathed/InsetMathMBox.cpp +++ b/src/mathed/InsetMathMBox.cpp @@ -43,7 +43,7 @@ InsetMathMBox::InsetMathMBox(LayoutPtr const & layout) { text_.paragraphs().clear(); text_.paragraphs().push_back(Paragraph()); - text_.paragraphs().back().layout(layout); + text_.paragraphs().back().setLayout(layout); }