X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraphList.h;h=a57deb4eea7b2a7e8582ef7cdedeb1deb62176f0;hb=13b88d6166c24666007768672cf78fb9855db797;hp=649df312d366bc922acbe874d58c8d9aa496732d;hpb=5576b516c40c4f127c9a01582dbf5a52db82b6cd;p=lyx.git diff --git a/src/ParagraphList.h b/src/ParagraphList.h index 649df312d3..a57deb4eea 100644 --- a/src/ParagraphList.h +++ b/src/ParagraphList.h @@ -12,16 +12,24 @@ #ifndef PARAGRAPH_LIST_H #define PARAGRAPH_LIST_H -#include "paragraph.h" +#include "Paragraph.h" #include "support/RandomAccessList.h" namespace lyx { -/// Container for all kind of Paragraphs used in Lyx. -typedef RandomAccessList ParagraphList; - +/// Container for all kind of Paragraphs used in LyX. +class ParagraphList : public RandomAccessList { +public: + /// + ParagraphList() {} + /// + template + ParagraphList(InputIterator first, InputIterator last) + : RandomAccessList(first, last) + {} +}; } // namespace lyx