]> git.lyx.org Git - features.git/blobdiff - src/insets/insetgraphics.C
* insets/*.C: constify docstring in plaintext()
[features.git] / src / insets / insetgraphics.C
index 407de303d18b2a9fbbdc012707da08b9c841c624..a54307361ef1ed4a1e1bb511197087f344ce3108 100644 (file)
@@ -818,8 +818,8 @@ int InsetGraphics::plaintext(Buffer const &, odocstream & os,
        // FIXME UNICODE
        // FIXME: We have no idea what the encoding of the filename is
 
-       docstring str = bformat(_("Graphics file: %1$s"),
-                               from_utf8(params().filename.absFilename()));
+       docstring const str = bformat(_("Graphics file: %1$s"),
+                                     from_utf8(params().filename.absFilename()));
        os << '<' << str << '>';
 
        return 2 + str.size();