From ea53fcb86a99270ff4d7cd462260cc0209fbf2de Mon Sep 17 00:00:00 2001 From: Michael Schmitt Date: Thu, 8 Feb 2007 17:47:51 +0000 Subject: [PATCH] * src/paragraph.[Ch]: remove Paragraph::clearContents(); this method is unused and would make LyX crash (no CT support etc) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17113 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/paragraph.C | 6 ------ src/paragraph.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/src/paragraph.C b/src/paragraph.C index 95287686f5..41db7e4532 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -1520,12 +1520,6 @@ InsetBase::Code Paragraph::ownerCode() const } -void Paragraph::clearContents() -{ - text_.clear(); -} - - ParagraphParameters & Paragraph::params() { return pimpl_->params; diff --git a/src/paragraph.h b/src/paragraph.h index 8f1d5acd1f..6a15392438 100644 --- a/src/paragraph.h +++ b/src/paragraph.h @@ -168,8 +168,6 @@ public: pos_type size() const { return text_.size(); } /// bool empty() const { return text_.empty(); } - /// - void clearContents(); /// LyXLayout_ptr const & layout() const;