X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraphList.h;h=a57deb4eea7b2a7e8582ef7cdedeb1deb62176f0;hb=44cdffa39e9160bde46d824f1915f9ef3084b53e;hp=cc81e9df64d808023f9ba55fa4e3cd0819d21183;hpb=00e305c9d9bd8b0ff54b6c58adb6192d5934ed60;p=lyx.git diff --git a/src/ParagraphList.h b/src/ParagraphList.h index cc81e9df64..a57deb4eea 100644 --- a/src/ParagraphList.h +++ b/src/ParagraphList.h @@ -19,9 +19,17 @@ 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