From: Richard Heck Date: Wed, 13 Oct 2010 18:57:57 +0000 (+0000) Subject: Const. X-Git-Tag: 2.0.0~2391 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e9cf7aabcb209b1e6c7a24fda3506ec277684f06;p=lyx.git Const. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35640 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index 63500a8325..fed03fd560 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -339,7 +339,8 @@ bool lyxreplace(BufferView * bv, FuncRequest const & ev, bool has_deleted) // emit message signal. buf.message(_("String has been replaced.")); } else { - docstring str = bformat(_("%1$d strings have been replaced."), replace_count); + docstring const str = + bformat(_("%1$d strings have been replaced."), replace_count); // emit message signal. buf.message(str); }