]> git.lyx.org Git - features.git/blobdiff - src/Buffer.h
start work on less-likely-to-misuse iterators.
[features.git] / src / Buffer.h
index 3ec296080c3ef3e6e8d8920bdc7b19f65ffaf61f..7bfc8c35fa11415e2b738e93e4ea7e2869cd8f0a 100644 (file)
@@ -144,9 +144,7 @@ public:
                pit_type &, pos_type &,
                Font const &, docstring const &, bool);
        ///
-       ParIterator getParFromID(int id);
-       ///
-       ParConstIterator getParFromID(int id) const;
+       DocIterator getParFromID(int id) const;
        /// do we have a paragraph with this id?
        bool hasParWithID(int id) const;