void clear() { freeLayouts(); m_blocks.clear(); setChanged(true); }
RichTextDocument::~RichTextDocument() { freeLayouts(); }