]> git.lyx.org Git - features.git/commitdiff
Constness.
authorRichard Heck <rgheck@comcast.net>
Fri, 29 Oct 2010 17:08:31 +0000 (17:08 +0000)
committerRichard Heck <rgheck@comcast.net>
Fri, 29 Oct 2010 17:08:31 +0000 (17:08 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35913 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetBibtex.cpp

index ff9c6733602ea75fcb6077d3361a2f25d571835e..93ba1fdf25b8554adb387a6b694cc406dad24b31 100644 (file)
@@ -150,7 +150,7 @@ void InsetBibtex::editDatabases() const
        vector<docstring>::const_iterator it = bibfilelist.begin();
        vector<docstring>::const_iterator en = bibfilelist.end();
        for (; it != en; ++it) {
-               FileName bibfile = getBibTeXPath(*it, buffer());
+               FileName const bibfile = getBibTeXPath(*it, buffer());
                formats.edit(buffer(), bibfile,
                     formats.getFormatFromFile(bibfile));
        }