mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
... and change the remaining char const * fmt to string const & fmt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6978 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fae0ce3073
commit
61861c8c89
@ -3,6 +3,9 @@
|
||||
|
||||
* lstrings.C: add missing implementation of three-arg bformat
|
||||
|
||||
* lstrings.C: change rest of char * fmt -> string const & fmt
|
||||
|
||||
|
||||
2003-05-15 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* lstrings.[Ch]: use string const & instead of char const * for format
|
||||
|
@ -724,7 +724,7 @@ string bformat(string const & fmt, string const & arg1, string const & arg2)
|
||||
}
|
||||
|
||||
|
||||
string bformat(char const * fmt, string const & arg1, string const & arg2,
|
||||
string bformat(string const & fmt, string const & arg1, string const & arg2,
|
||||
string const & arg3)
|
||||
{
|
||||
lyx::Assert(contains(fmt, "%1$s"));
|
||||
@ -737,7 +737,7 @@ string bformat(char const * fmt, string const & arg1, string const & arg2,
|
||||
}
|
||||
|
||||
|
||||
string bformat(char const * fmt, string const & arg1, string const & arg2,
|
||||
string bformat(string const & fmt, string const & arg1, string const & arg2,
|
||||
string const & arg3, string const & arg4)
|
||||
{
|
||||
lyx::Assert(contains(fmt, "%1$s"));
|
||||
|
Loading…
Reference in New Issue
Block a user