X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraph.cpp;h=37e26a8b86683d125124c218e3e586cbefd4e07b;hb=81badf8550f2fd5e614a22261c4885d747a72106;hp=eb239edbe04326167be6b1dd69c74d0fda162b9a;hpb=fca332bace10dfddd2d6fc6ea3889aea79b30c61;p=lyx.git diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index eb239edbe0..37e26a8b86 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -282,6 +282,10 @@ private: class Paragraph::Private { + // Enforce our own "copy" constructor by declaring the standard one and + // the assignment operator private without implementing them. + Private(Private const &); + Private & operator=(Private const &); public: /// Private(Paragraph * owner, Layout const & layout); @@ -3382,8 +3386,6 @@ docstring Paragraph::asString(pos_type beg, pos_type end, int options, const Out getInset(i)->plaintext(os, *runparams); } else { getInset(i)->toString(os); - if (getInset(i)->asInsetMath()) - os << " "; } } }