]> git.lyx.org Git - features.git/blobdiff - src/paragraph.C
parlist-22-a.diff
[features.git] / src / paragraph.C
index 4034a5624cbdeb836cdc1c2cfcda8a749dd963b2..20ced3064f5c3c1392f988e40e2d2a207272a7b1 100644 (file)
@@ -99,7 +99,7 @@ Paragraph::Paragraph(Paragraph const & lp)
        InsetList::iterator it = insetlist.begin();
        InsetList::iterator end = insetlist.end();
        for (; it != end; ++it) {
-               it.setInset(it.getInset()->clone(**buffer_, false));
+               it.setInset(it.getInset()->clone(**buffer_));
                // tell the new inset who is the boss now
                it.getInset()->parOwner(this);
        }
@@ -1396,3 +1396,10 @@ bool Paragraph::isFreeSpacing() const
                return (pimpl_->inset_owner->owner()->lyxCode() == Inset::ERT_CODE);
        return false;
 }
+
+
+bool operator==(Paragraph const & lhs, Paragraph const & rhs)
+{
+#warning FIXME this implementatoin must be completely wrong...
+       return &lhs == &rhs;
+}