]> git.lyx.org Git - lyx.git/blobdiff - src/BiblioInfo.cpp
Update other comment.
[lyx.git] / src / BiblioInfo.cpp
index 2460c487d0323acfcadc7d6aa1f26a38530e501a..7c776109655018c4af8516b5866a4be1c16fb7e1 100644 (file)
@@ -472,12 +472,12 @@ docstring BibTeXInfo::expandFormat(docstring const & format,
                docstring before, docstring after, docstring dialog, bool next) const
 {
        // incorrect use of macros could put us in an infinite loop
-       static int max_passes = 5000;
+       static int const max_passes = 5000;
        // the use of overly large keys can lead to performance problems, due
        // 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;