diff --git a/src/support/ChangeLog b/src/support/ChangeLog index 423337e9a2..738e6c8d30 100644 --- a/src/support/ChangeLog +++ b/src/support/ChangeLog @@ -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 * lstrings.[Ch]: use string const & instead of char const * for format diff --git a/src/support/lstrings.C b/src/support/lstrings.C index 1b7b05fb23..29766f641e 100644 --- a/src/support/lstrings.C +++ b/src/support/lstrings.C @@ -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"));