mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
remove unneeded init() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21383 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c51f1cffaa
commit
e33efb3c31
@ -35,24 +35,18 @@ using std::ostream;
|
|||||||
using std::ostringstream;
|
using std::ostringstream;
|
||||||
|
|
||||||
|
|
||||||
void InsetBranch::init()
|
|
||||||
{
|
|
||||||
setButtonLabel();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
InsetBranch::InsetBranch(BufferParams const & bp,
|
InsetBranch::InsetBranch(BufferParams const & bp,
|
||||||
InsetBranchParams const & params)
|
InsetBranchParams const & params)
|
||||||
: InsetCollapsable(bp), params_(params)
|
: InsetCollapsable(bp), params_(params)
|
||||||
{
|
{
|
||||||
init();
|
setButtonLabel();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
InsetBranch::InsetBranch(InsetBranch const & in)
|
InsetBranch::InsetBranch(InsetBranch const & in)
|
||||||
: InsetCollapsable(in), params_(in.params_)
|
: InsetCollapsable(in), params_(in.params_)
|
||||||
{
|
{
|
||||||
init();
|
setButtonLabel();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -94,8 +94,6 @@ private:
|
|||||||
|
|
||||||
virtual Inset * clone() const;
|
virtual Inset * clone() const;
|
||||||
|
|
||||||
/// used by the constructors
|
|
||||||
void init();
|
|
||||||
///
|
///
|
||||||
InsetBranchParams params_;
|
InsetBranchParams params_;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user