]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.cpp
remove most traces of boost::regex
[lyx.git] / src / TextClass.cpp
index e162fc6091c4587aa3eb4a0a489e96e240aceb6c..cd87cca2e4efd6d1b2ae052ba94ea5198c6a458f 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 = 86; // tcuvelier: DocBookSection.
+int const LAYOUT_FORMAT = 87; // rkh: master --> parent for counters
 
 
 // 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);