]> git.lyx.org Git - lyx.git/commitdiff
Const.
authorRichard Heck <rgheck@comcast.net>
Mon, 9 Nov 2009 03:00:19 +0000 (03:00 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 9 Nov 2009 03:00:19 +0000 (03:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31913 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp

index ba10cd732720d094239d30dc68ac1dc2e039a80a..d1104370c09452cb4f5316c570cb2d81f4012247 100644 (file)
@@ -3253,7 +3253,7 @@ bool Buffer::isExportable(string const & format) const
 
 vector<Format const *> Buffer::exportableFormats(bool only_viewable) const
 {
-       vector<string> backs = backends();
+       vector<string> const backs = backends();
        vector<Format const *> result =
                theConverters().getReachable(backs[0], only_viewable, true);
        for (vector<string>::const_iterator it = backs.begin() + 1;