]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
Kornel's gcc compile fix.
[lyx.git] / src / BufferParams.h
index 32ea2e2ae09e546431a95dd3fb7aaadfa4527336..0be946c37f42ee1a0c6d4eec607256b06e0e983d 100644 (file)
@@ -25,6 +25,7 @@
 #include "support/copied_ptr.h"
 
 #include <list>
+#include <map>
 #include <vector>
 
 namespace lyx {
@@ -258,6 +259,8 @@ public:
        ///
        std::string master;
        ///
+       bool suppress_date;
+       ///
        std::string float_placement;
        ///
        unsigned int columns;
@@ -309,8 +312,8 @@ public:
        AuthorList & authors();
        AuthorList const & authors() const;
 
-       /// map of the file's author IDs to buffer author IDs
-       std::vector<unsigned int> author_map;
+       /// map of the file's author IDs to AuthorList indexes
+       std::map<unsigned int, int> author_map;
        ///
        std::string const dvips_options() const;
        /** The return value of paperSizeName() depends on the