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
This commit is contained in:
Michael Schmitt 2006-10-19 13:40:15 +00:00
parent b55f70432c
commit 8f426399d8
4 changed files with 0 additions and 20 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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())

View File

@ -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