mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
Remove dead comment
This commit is contained in:
parent
5bd498c56d
commit
97ecf71016
@ -3726,7 +3726,6 @@ void Buffer::Impl::updateMacros(DocIterator & it, DocIterator & scope)
|
|||||||
while (it.pit() <= lastpit) {
|
while (it.pit() <= lastpit) {
|
||||||
Paragraph & par = it.paragraph();
|
Paragraph & par = it.paragraph();
|
||||||
|
|
||||||
// FIXME Can this be done with the new-style iterators?
|
|
||||||
// iterate over the insets of the current paragraph
|
// iterate over the insets of the current paragraph
|
||||||
for (auto const & insit : par.insetList()) {
|
for (auto const & insit : par.insetList()) {
|
||||||
it.pos() = insit.pos;
|
it.pos() = insit.pos;
|
||||||
|
@ -134,14 +134,14 @@ ParagraphList const & ParConstIterator::plist() const
|
|||||||
return text()->paragraphs();
|
return text()->paragraphs();
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
bool operator==(ParConstIterator const & iter1, ParConstIterator const & iter2)
|
bool operator==(ParConstIterator const & iter1, ParConstIterator const & iter2)
|
||||||
{
|
{
|
||||||
// FIXME: this makes two full copies!
|
DocIterator const * dit1 = &iter1;
|
||||||
return DocIterator(iter1) == DocIterator(iter2);
|
DocIterator const * dit2 = &iter2;
|
||||||
|
return *dit1 == *dit2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
bool operator!=(ParConstIterator const & iter1, ParConstIterator const & iter2)
|
bool operator!=(ParConstIterator const & iter1, ParConstIterator const & iter2)
|
||||||
{
|
{
|
||||||
return !(iter1 == iter2);
|
return !(iter1 == iter2);
|
||||||
|
@ -115,7 +115,7 @@ public:
|
|||||||
ParagraphList const & plist() const;
|
ParagraphList const & plist() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
//bool operator==(ParConstIterator const & it1, ParConstIterator const & it2);
|
bool operator==(ParConstIterator const & it1, ParConstIterator const & it2);
|
||||||
|
|
||||||
//bool operator!=(ParConstIterator const & it1, ParConstIterator const & it2);
|
//bool operator!=(ParConstIterator const & it1, ParConstIterator const & it2);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user