From 8f426399d8161c337f5974ac1896f0cbbde55bc4 Mon Sep 17 00:00:00 2001 From: Michael Schmitt Date: Thu, 19 Oct 2006 13:40:15 +0000 Subject: [PATCH] Change tracking: src/paragraph.h: src/paragraph_pimpl.C: src/paragraph_pimpl.h: src/paragraph.C: remove setChangeType(...) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15372 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/paragraph.C | 6 ------ src/paragraph.h | 3 --- src/paragraph_pimpl.C | 9 --------- src/paragraph_pimpl.h | 2 -- 4 files changed, 20 deletions(-) diff --git a/src/paragraph.C b/src/paragraph.C index 4b4acea413..e95e838932 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -1440,12 +1440,6 @@ void Paragraph::setChange(Change const & change) } -void Paragraph::setChangeType(lyx::pos_type pos, Change::Type type) -{ - pimpl_->setChangeType(pos, type); -} - - void Paragraph::setChange(lyx::pos_type pos, Change const & change) { pimpl_->setChange(pos, change); diff --git a/src/paragraph.h b/src/paragraph.h index 41238d081c..aad01e8d04 100644 --- a/src/paragraph.h +++ b/src/paragraph.h @@ -205,9 +205,6 @@ public: return lookupChange(pos).type == Change::DELETED; } - /// set change type at given pos - void setChangeType(lyx::pos_type pos, Change::Type type); - /// set change for the entire par void setChange(Change const & change); diff --git a/src/paragraph_pimpl.C b/src/paragraph_pimpl.C index 0ec8b4c620..8796129d43 100644 --- a/src/paragraph_pimpl.C +++ b/src/paragraph_pimpl.C @@ -116,15 +116,6 @@ void Paragraph::Pimpl::setChange(Change const & change) } -void Paragraph::Pimpl::setChangeType(pos_type pos, Change::Type type) -{ - if (!tracking()) - return; - - changes_->set(type, pos); -} - - void Paragraph::Pimpl::setChange(pos_type pos, Change const & change) { if (!tracking()) diff --git a/src/paragraph_pimpl.h b/src/paragraph_pimpl.h index 9c971d413f..0187490187 100644 --- a/src/paragraph_pimpl.h +++ b/src/paragraph_pimpl.h @@ -44,8 +44,6 @@ public: bool isChanged(lyx::pos_type start, lyx::pos_type end) const; /// set change for the entire par void setChange(Change const & change); - /// set change type at given pos - void setChangeType(lyx::pos_type pos, Change::Type type); /// set change at given pos void setChange(lyx::pos_type pos, Change const & change); /// accept change -- 2.39.2