]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.cpp
Add empty line after last \bibitem in bibliography (#12041)
[lyx.git] / src / TextClass.cpp
index 42169c1b5053c42ec0d755426ccb96c631571409..a58ae6dacd628f02509c633e473fb4164f5b68a5 100644 (file)
@@ -59,7 +59,7 @@ namespace lyx {
 // You should also run the development/tools/updatelayouts.py script,
 // to update the format of all of our layout files.
 //
-int const LAYOUT_FORMAT = 85; // tcuvelier: DocBookInnerTag.
+int const LAYOUT_FORMAT = 88; // tcuvelier: add DocBookNotInPara
 
 
 // Layout format for the current lyx file format. Controls which format is
@@ -2045,6 +2045,7 @@ vector<string> const DocumentClass::citeCommands(
 {
        vector<CitationStyle> const styles = citeStyles(type);
        vector<string> cmds;
+       cmds.reserve(styles.size());
        for (auto const & cs : styles)
                cmds.push_back(cs.name);