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:
Abdelrazak Younes 2007-11-02 17:58:16 +00:00
parent c51f1cffaa
commit e33efb3c31
2 changed files with 2 additions and 10 deletions

View File

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

View File

@ -94,8 +94,6 @@ private:
virtual Inset * clone() const; virtual Inset * clone() const;
/// used by the constructors
void init();
/// ///
InsetBranchParams params_; InsetBranchParams params_;
}; };