]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.C
citation patch from Angus
[lyx.git] / src / LaTeXFeatures.C
index 36c37e65616a0e6fb07c4b32bc82e3eeffd6c246..eeecf32930c83c07c6e0243ca32caa95df498f06 100644 (file)
@@ -350,9 +350,10 @@ string LaTeXFeatures::getTClassPreamble()
 string LaTeXFeatures::getIncludedFiles()
 {
        string sgmlpreamble;
-
-       for(FileMap::const_iterator fi=IncludedFiles.begin(); fi != IncludedFiles.end(); ++fi)
-               sgmlpreamble += "\n<!entity " + fi->first + " system \"" + fi->second + "\">";
+       FileMap::const_iterator end = IncludedFiles.end();
+       for(FileMap::const_iterator fi=IncludedFiles.begin(); fi != end; ++fi)
+               sgmlpreamble += "\n<!entity " + fi->first
+                       + " system \"" + fi->second + "\">";
 
        return sgmlpreamble;
 }