]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetref.C
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetref.C
index dd7a79892b62c3bd1526a0da2d6f00818867733f..85dca1c86529ab7fdf0bfa45524a34ee86ee0f8f 100644 (file)
@@ -97,7 +97,7 @@ int InsetRef::latex(Buffer const &, odocstream & os,
 int InsetRef::plaintext(Buffer const &, odocstream & os,
                         OutputParams const &) const
 {
-       docstring str = getParam("reference");
+       docstring const str = getParam("reference");
        os << '[' << str << ']';
        return 2 + str.size();
 }