]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.cpp
Refactor InsetQuotes.h enums
[lyx.git] / src / TextClass.cpp
index 3628872ae306dc3ec7f571d62d06c927431ac177..a58ae6dacd628f02509c633e473fb4164f5b68a5 100644 (file)
 
 #include "TextClass.h"
 
-#include "LayoutFile.h"
 #include "CiteEnginesList.h"
-#include "Color.h"
 #include "Counters.h"
 #include "Floating.h"
 #include "FloatList.h"
 #include "Layout.h"
+#include "LayoutFile.h"
 #include "Lexer.h"
-#include "Font.h"
 #include "ModuleList.h"
 
 #include "frontends/alert.h"
 
 #include "support/lassert.h"
 #include "support/debug.h"
-#include "support/ExceptionMessage.h"
 #include "support/FileName.h"
 #include "support/filetools.h"
 #include "support/gettext.h"
@@ -62,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 = 84; // tcuvelier: DocBook*TagType.
+int const LAYOUT_FORMAT = 88; // tcuvelier: add DocBookNotInPara
 
 
 // Layout format for the current lyx file format. Controls which format is
@@ -2048,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);