]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
Get rid of Paragraph::ownerCode().
[lyx.git] / src / BufferParams.h
index 32ea2e2ae09e546431a95dd3fb7aaadfa4527336..65e133b1a1f3e2ccd35a46a7b5c032ae0e0b7c0c 100644 (file)
@@ -25,6 +25,7 @@
 #include "support/copied_ptr.h"
 
 #include <list>
+#include <map>
 #include <vector>
 
 namespace lyx {
@@ -309,8 +310,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