]> git.lyx.org Git - features.git/commitdiff
Style.
authorRichard Heck <rgheck@lyx.org>
Wed, 23 May 2012 12:53:14 +0000 (08:53 -0400)
committerRichard Heck <rgheck@lyx.org>
Wed, 23 May 2012 12:53:14 +0000 (08:53 -0400)
src/frontends/qt4/GuiView.cpp

index f6c6a93b2e272f3cdb27021d166c710acec7db6b..ca636329d6ffff41808f87489c01acff159ef7f8 100644 (file)
@@ -2026,8 +2026,9 @@ static bool import(GuiView * lv, FileName const & filename,
        string loader_format;
        vector<string> loaders = theConverters().loaders();
        if (find(loaders.begin(), loaders.end(), format) == loaders.end()) {
-               for (vector<string>::const_iterator it = loaders.begin();
-                        it != loaders.end(); ++it) {
+               vector<string>::const_iterator it = loaders.begin();
+               vector<string>::const_iterator en = loaders.end();
+               for (; it != en; ++it) {
                        if (!theConverters().isReachable(format, *it))
                                continue;