... 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:
André Pönitz 2003-05-19 14:13:50 +00:00
parent fae0ce3073
commit 61861c8c89
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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"));