]> git.lyx.org Git - features.git/commitdiff
* src/paragraph.[Ch]: remove Paragraph::clearContents(); this
authorMichael Schmitt <michael.schmitt@teststep.org>
Thu, 8 Feb 2007 17:47:51 +0000 (17:47 +0000)
committerMichael Schmitt <michael.schmitt@teststep.org>
Thu, 8 Feb 2007 17:47:51 +0000 (17:47 +0000)
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
src/paragraph.h

index 95287686f56a2e84214321008e6d41cb785a18a9..41db7e45320d5c085d8edf72b384ce5a4de24262 100644 (file)
@@ -1520,12 +1520,6 @@ InsetBase::Code Paragraph::ownerCode() const
 }
 
 
-void Paragraph::clearContents()
-{
-       text_.clear();
-}
-
-
 ParagraphParameters & Paragraph::params()
 {
        return pimpl_->params;
index 8f1d5acd1f5d717aa2b1a31d7dddf6f4664510c7..6a1539243899fbacaa879485512afe351c020ce5 100644 (file)
@@ -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;