]> git.lyx.org Git - features.git/blobdiff - src/lyxparagraph.h
Gnome Error&Ref popups, change LyXParagraph::size_type, many tweaks to help cxx compile
[features.git] / src / lyxparagraph.h
index 03e938bb40e6ae5277c009d0bcd54e04839f36de..2910c15807bb072f48c27d8d73265b45980b3124 100644 (file)
@@ -124,14 +124,17 @@ public:
        ///
        typedef std::vector<value_type> TextContainer;
        ///
-       typedef int size_type;
+       /* This should be TextContainer::size_type, but we need
+          signed values for now.
+       */
+       typedef TextContainer::difference_type size_type;
 
        ///
        LyXParagraph();
-       /// this konstruktor inserts the new paragraph in a list
+       /// this constructor inserts the new paragraph in a list
        explicit
        LyXParagraph(LyXParagraph * par);
-       /// the destruktors removes the new paragraph from the list
+       /// the destructor removes the new paragraph from the list
        ~LyXParagraph();
 
        ///