]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathCases.cpp
Only set buffer if it is not null.
[lyx.git] / src / mathed / InsetMathCases.cpp
index 5ddb9d015e50b7f61b008c1585bf1e72f2e1eb3f..09ad0f8fa8273c8610aa49ccfac99db924fab500 100644 (file)
@@ -32,8 +32,8 @@ using namespace lyx::support;
 namespace lyx {
 
 
-InsetMathCases::InsetMathCases(Buffer * buf, row_type n)
-       : InsetMathGrid(buf, 2, n, 'c', from_ascii("ll"))
+InsetMathCases::InsetMathCases(Buffer * buf, row_type rows)
+       : InsetMathGrid(buf, 2, rows, 'c', from_ascii("ll"))
 {}