#ifndef PARAGRAPH_LIST_FWD_H
#define PARAGRAPH_LIST_FWD_H
-#include <list>
-#include <utility>
+namespace lyx {
+
+template <class T>
+class RandomAccessList;
class Paragraph;
-typedef std::list<Paragraph> ParagraphList;
+typedef RandomAccessList<Paragraph> ParagraphList;
-typedef std::pair<ParagraphList::iterator, int> PitPosPair;
+} // namespace lyx
#endif