]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathGrid.cpp
Only set buffer if it is not null.
[lyx.git] / src / mathed / InsetMathGrid.cpp
index fef88a99439a10fcd18b03633b004a63945225f0..783e374f624492c6c8e5e9bd51b49117c2abea97 100644 (file)
@@ -1215,7 +1215,7 @@ void InsetMathGrid::mathmlize(MathStream & ms) const
 
 // FIXME XHTML
 // We need to do something about alignment here.
-void InsetMathGrid::htmlize(HtmlStream & os, string attrib) const
+void InsetMathGrid::htmlize(HtmlStream & os, string const & attrib) const
 {
        bool const havetable = nrows() > 1 || ncols() > 1;
        if (!havetable) {