]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBrace.cpp
Make Buffer argument mandatory in most of the InsetMath based class... boring work...
[lyx.git] / src / mathed / InsetMathBrace.cpp
index d2d2e3fc162f0badeb9275fdc3c8dabb0e031eaf..c1034c9aeeb1f662e48478c7b8fb7e25493b6d2e 100644 (file)
@@ -26,13 +26,13 @@ using namespace std;
 
 namespace lyx {
 
-InsetMathBrace::InsetMathBrace()
-       : InsetMathNest(1)
+InsetMathBrace::InsetMathBrace(Buffer * buf)
+       : InsetMathNest(buf, 1)
 {}
 
 
 InsetMathBrace::InsetMathBrace(MathData const & ar)
-       : InsetMathNest(1)
+       : InsetMathNest(const_cast<Buffer *>(ar.buffer()), 1)
 {
        cell(0) = ar;
 }