]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphList_fwd.h
Fix bug 3148: always update the Labels if a DEPM is triggered.
[lyx.git] / src / ParagraphList_fwd.h
index 8febea1383093182a74f21cce531cbbdbae0954a..0c8aa6c205c570af99513e74ad07852528e47312 100644 (file)
 #ifndef PARAGRAPH_LIST_FWD_H
 #define PARAGRAPH_LIST_FWD_H
 
-#include <vector>
+namespace lyx {
+
+template <class T>
+class RandomAccessList;
 
 class Paragraph;
 
-class ParagraphList : public std::vector<Paragraph> 
-{
-public:
-       ///
-       typedef std::vector<Paragraph> base_type;
-       ///
-       ParagraphList(); 
-       ///
-       template <class Iter>
-       ParagraphList(Iter beg, Iter end)
-               : base_type(beg, end)
-       {}
-};
+typedef RandomAccessList<Paragraph> ParagraphList;
+
+} // namespace lyx
 
 #endif