* src/paragraph.h:

* src/paragraph_pimpl.C:
	* src/paragraph_pimpl.h:
	* src/paragraph.C: get rid of unused method setContentsFromPar()
	and remove another change tracking FIXME at the same time


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15676 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Michael Schmitt 2006-11-01 17:51:41 +00:00
parent 4fb480f34f
commit b937ae39f9
4 changed files with 0 additions and 19 deletions

View File

@ -1409,12 +1409,6 @@ void Paragraph::setInsetOwner(InsetBase * inset)
}
void Paragraph::setContentsFromPar(Paragraph const & par)
{
pimpl_->setContentsFromPar(par);
}
Change const Paragraph::lookupChange(pos_type pos) const
{
BOOST_ASSERT(pos <= size());

View File

@ -178,8 +178,6 @@ public:
///
bool empty() const { return text_.empty(); }
///
void setContentsFromPar(Paragraph const & par);
///
void clearContents();
///

View File

@ -78,15 +78,6 @@ Paragraph::Pimpl::Pimpl(Pimpl const & p, Paragraph * owner)
}
void Paragraph::Pimpl::setContentsFromPar(Paragraph const & par)
{
owner_->text_ = par.text_;
// FIXME: change tracking (MG)
// check whether this method is really needed
changes_ = par.pimpl_->changes_;
}
bool Paragraph::Pimpl::isChanged(pos_type start, pos_type end) const
{
BOOST_ASSERT(start >= 0 && start <= size());

View File

@ -35,8 +35,6 @@ public:
Pimpl(Paragraph * owner);
/// "Copy constructor"
Pimpl(Pimpl const &, Paragraph * owner);
///
void setContentsFromPar(Paragraph const & par);
//
// Change tracking