X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParIterator.cpp;h=78006b000fae87bc22957eb36ac0d22696b609ef;hb=e995e8556bd670c7183bab7e105073a5f4ccfbc0;hp=366c709f4c2ded0e8a389561463fadf0d8b9b79a;hpb=24fdfc7d5e6c8f85dcb1ed83ec42a53d40776a52;p=lyx.git diff --git a/src/ParIterator.cpp b/src/ParIterator.cpp index 366c709f4c..78006b000f 100644 --- a/src/ParIterator.cpp +++ b/src/ParIterator.cpp @@ -119,6 +119,12 @@ ParConstIterator::ParConstIterator(ParConstIterator const & pi) {} +void ParConstIterator::push_back(Inset const & inset) +{ + DocIterator::push_back(CursorSlice(const_cast(inset))); +} + + ParConstIterator & ParConstIterator::operator++() { DocIterator::forwardPar();