]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphParameters.cpp
Allow using \binom without amsmath and add support for \brace and \brack
[lyx.git] / src / ParagraphParameters.cpp
index d0d4b261278f61fa21450865f68a4b600eacaf79..00b990c7c9414a3ebce731c03e044dad233afd21 100644 (file)
@@ -312,13 +312,13 @@ void params2string(Paragraph const & par, string & data)
        ostringstream os;
        params.write(os);
 
-       LayoutPtr const & layout = par.layout();
+       Layout const & layout = par.layout();
 
        // Is alignment possible
-       os << "\\alignpossible " << layout->alignpossible << '\n';
+       os << "\\alignpossible " << layout.alignpossible << '\n';
 
        /// set default alignment
-       os << "\\aligndefault " << layout->align << '\n';
+       os << "\\aligndefault " << layout.align << '\n';
 
        /// paragraph is always in inset. This is redundant.
        os << "\\ininset " << 1 << '\n';