mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
Optimisation: remove the inset mailer used in the dtor because it was far from negligible in profile results with Macro (which is a heavy user of thi MathGrid class). This matrix dialog showing/hiding was not working anyway.
* InsetMathGrid::~InsetMathGrid(): deleted. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17896 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c9dffa27a2
commit
e841d41a92
@ -184,13 +184,6 @@ InsetMathGrid::InsetMathGrid(col_type m, row_type n, char v, docstring const & h
|
||||
}
|
||||
|
||||
|
||||
InsetMathGrid::~InsetMathGrid()
|
||||
{
|
||||
GridInsetMailer mailer(*this);
|
||||
mailer.hideDialog();
|
||||
}
|
||||
|
||||
|
||||
auto_ptr<InsetBase> InsetMathGrid::doClone() const
|
||||
{
|
||||
return auto_ptr<InsetBase>(new InsetMathGrid(*this));
|
||||
|
@ -94,8 +94,6 @@ public:
|
||||
InsetMathGrid(col_type m, row_type n);
|
||||
///
|
||||
InsetMathGrid(col_type m, row_type n, char valign, docstring const & halign);
|
||||
/// Ensures that the dialog is closed.
|
||||
~InsetMathGrid();
|
||||
///
|
||||
void metrics(MetricsInfo & mi) const;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user