mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Simplify the invocation of the Mailer::hide/showDialog() functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8150 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7de76711b1
commit
3bb6b37043
@ -1,3 +1,16 @@
|
||||
2003-11-28 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* insetbox.C (d-tor):
|
||||
* insetbranch.C (d-tor):
|
||||
* insetcite.C (d-tor):
|
||||
* insetfloat.C (d-tor):
|
||||
* insetfloatlist.C (d-tor):
|
||||
* insetinclude.C (d-tor):
|
||||
* insetindex.C (d-tor):
|
||||
simplify the invocation of the Mailer::hideDialog() function.
|
||||
|
||||
* insetminipage.C (showInsetDialog):
|
||||
simplify the invocation of the Mailer::showialog() function.
|
||||
|
||||
2003-11-28 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
|
@ -96,8 +96,7 @@ InsetBox::InsetBox(InsetBox const & in)
|
||||
|
||||
InsetBox::~InsetBox()
|
||||
{
|
||||
InsetBoxMailer mailer(*this);
|
||||
mailer.hideDialog();
|
||||
InsetBoxMailer(*this).hideDialog();
|
||||
}
|
||||
|
||||
|
||||
|
@ -59,8 +59,7 @@ InsetBranch::InsetBranch(InsetBranch const & in)
|
||||
|
||||
InsetBranch::~InsetBranch()
|
||||
{
|
||||
InsetBranchMailer mailer("branch", *this);
|
||||
mailer.hideDialog();
|
||||
InsetBranchMailer("branch", *this).hideDialog();
|
||||
}
|
||||
|
||||
|
||||
|
@ -226,8 +226,7 @@ InsetCitation::InsetCitation(InsetCommandParams const & p)
|
||||
|
||||
InsetCitation::~InsetCitation()
|
||||
{
|
||||
InsetCommandMailer mailer("citation", *this);
|
||||
mailer.hideDialog();
|
||||
InsetCommandMailer("citation", *this).hideDialog();
|
||||
}
|
||||
|
||||
|
||||
|
@ -156,8 +156,7 @@ InsetFloat::InsetFloat(InsetFloat const & in)
|
||||
|
||||
InsetFloat::~InsetFloat()
|
||||
{
|
||||
InsetFloatMailer mailer(*this);
|
||||
mailer.hideDialog();
|
||||
InsetFloatMailer(*this).hideDialog();
|
||||
}
|
||||
|
||||
|
||||
|
@ -48,8 +48,7 @@ InsetFloatList::InsetFloatList(string const & type)
|
||||
|
||||
InsetFloatList::~InsetFloatList()
|
||||
{
|
||||
InsetCommandMailer mailer("toc", *this);
|
||||
mailer.hideDialog();
|
||||
InsetCommandMailer("toc", *this).hideDialog();
|
||||
}
|
||||
|
||||
|
||||
|
@ -103,8 +103,7 @@ InsetInclude::InsetInclude(InsetInclude const & other)
|
||||
|
||||
InsetInclude::~InsetInclude()
|
||||
{
|
||||
InsetIncludeMailer mailer(*this);
|
||||
mailer.hideDialog();
|
||||
InsetIncludeMailer(*this).hideDialog();
|
||||
}
|
||||
|
||||
|
||||
|
@ -35,8 +35,7 @@ InsetIndex::InsetIndex(InsetCommandParams const & p)
|
||||
|
||||
InsetIndex::~InsetIndex()
|
||||
{
|
||||
InsetCommandMailer mailer("index", *this);
|
||||
mailer.hideDialog();
|
||||
InsetCommandMailer("index", *this).hideDialog();
|
||||
}
|
||||
|
||||
|
||||
|
@ -274,8 +274,7 @@ bool InsetMinipage::showInsetDialog(BufferView * bv) const
|
||||
{
|
||||
if (!inset.showInsetDialog(bv)) {
|
||||
InsetMinipage * tmp = const_cast<InsetMinipage *>(this);
|
||||
InsetMinipageMailer mailer(*tmp);
|
||||
mailer.showDialog(bv);
|
||||
InsetMinipageMailer(*tmp).showDialog(bv);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user