]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathParser.cpp
Only set buffer if it is not null.
[lyx.git] / src / mathed / MathParser.cpp
index 89c742aed9024756b39bd54ea712123710531bbc..332d2a1454cfb1e55c75cea5e75b667081b34270 100644 (file)
@@ -77,7 +77,6 @@ following hack as starting point to write some macros:
 #include "support/convert.h"
 #include "support/debug.h"
 #include "support/docstream.h"
-#include "support/unique_ptr.h"
 
 #include <sstream>
 
@@ -1882,7 +1881,7 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags,
                        bool const prot =  nextToken().character() == '*';
                        if (prot)
                                getToken();
-                       docstring const name = t.cs();
+                       docstring const name = t.cs();
                        docstring const arg = parse_verbatim_item();
                        Length length;
                        if (prot && arg == "\\fill")