mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
* Paragraph: Cosmetics and cleanups, remove uneeded redirection and uniformize Private members naming. Still a lot of cleanup needed.
* InsetList: remove clone() and create a copy ctor. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21052 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
050b0f152f
commit
b4ef7c9968
@ -138,8 +138,9 @@ void InsetList::decreasePosAfterPos(pos_type pos)
|
||||
}
|
||||
|
||||
|
||||
void InsetList::clone()
|
||||
InsetList::InsetList(InsetList const & il)
|
||||
{
|
||||
list_ = il.list_;
|
||||
List::iterator it = list_.begin();
|
||||
List::iterator end = list_.end();
|
||||
for (; it != end; ++it)
|
||||
|
@ -25,6 +25,11 @@ class Buffer;
|
||||
///
|
||||
class InsetList {
|
||||
public:
|
||||
///
|
||||
InsetList() {}
|
||||
///
|
||||
InsetList(InsetList const &);
|
||||
|
||||
///
|
||||
class InsetTable {
|
||||
public:
|
||||
@ -71,11 +76,6 @@ public:
|
||||
///
|
||||
void decreasePosAfterPos(pos_type pos);
|
||||
|
||||
/// replicate ourselves.
|
||||
/// Warning: this should be used with care, only
|
||||
/// Paragraph::Pimpl should use it actually.
|
||||
void clone();
|
||||
|
||||
private:
|
||||
///
|
||||
List list_;
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -384,11 +384,11 @@ private:
|
||||
pos_type begin_of_body_;
|
||||
|
||||
/// Pimpl away stuff
|
||||
class Pimpl;
|
||||
class Private;
|
||||
///
|
||||
friend class Paragraph::Pimpl;
|
||||
friend class Paragraph::Private;
|
||||
///
|
||||
Pimpl * pimpl_;
|
||||
Private * d;
|
||||
};
|
||||
|
||||
} // namespace lyx
|
||||
|
Loading…
Reference in New Issue
Block a user