mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
This is meant to be almost UINT_MAX, but needn't really be that
big, and I don't see the point of pulling in limits.h.
This commit is contained in:
parent
30a01da78f
commit
2e23f1719e
@ -477,7 +477,7 @@ docstring BibTeXInfo::expandFormat(docstring const & format,
|
||||
// to eventual attempts to convert LaTeX macros to unicode. See bug
|
||||
// #8944. This is perhaps not the best solution, but it will have to
|
||||
// do for now.
|
||||
static size_t max_keysize = 128;
|
||||
static size_t const max_keysize = 128;
|
||||
odocstringstream ret; // return value
|
||||
string key;
|
||||
bool scanning_key = false;
|
||||
|
@ -114,7 +114,7 @@ private:
|
||||
/// be the one referenced in the crossref field.
|
||||
docstring getValueForKey(std::string const & key, Buffer const & buf,
|
||||
docstring const & before, docstring const & after, docstring const & dialog,
|
||||
BibTeXInfo const * const xref, size_t maxsize = 1024) const;
|
||||
BibTeXInfo const * const xref, size_t maxsize = 4096) const;
|
||||
/// replace %keys% in a format string with their values
|
||||
/// called from getInfo()
|
||||
/// format strings may contain:
|
||||
|
Loading…
Reference in New Issue
Block a user