]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathComment.cpp
RefChanger
[lyx.git] / src / mathed / InsetMathComment.cpp
index 096cf38752d80371d7b6941d9ebad25459205e02..ff91991aa86ff0755fb7cb470f0f28e734bbca91 100644 (file)
@@ -26,6 +26,13 @@ InsetMathComment::InsetMathComment(Buffer * buf)
 {}
 
 
+InsetMathComment::InsetMathComment(MathData const & ar)
+       : InsetMathNest(const_cast<Buffer *>(ar.buffer()), 1)
+{
+       cell(0) = ar;
+}
+
+
 InsetMathComment::InsetMathComment(Buffer * buf, docstring const & str)
        : InsetMathNest(buf, 1)
 {