mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 01:08:45 +00:00
Fix crash when a user removes a formula when its preview is being generated. (Another signal/destructor/gcc3 bug)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19666 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0767069003
commit
b6fb32535a
@ -62,6 +62,13 @@ RenderPreview::RenderPreview(RenderPreview const & other,
|
||||
{}
|
||||
|
||||
|
||||
RenderPreview::~RenderPreview()
|
||||
{
|
||||
if (ploader_connection_.connected())
|
||||
ploader_connection_.disconnect();
|
||||
}
|
||||
|
||||
|
||||
auto_ptr<RenderBase> RenderPreview::clone(Inset const * inset) const
|
||||
{
|
||||
return auto_ptr<RenderBase>(new RenderPreview(*this, inset));
|
||||
|
@ -49,6 +49,7 @@ public:
|
||||
|
||||
RenderPreview(Inset const *);
|
||||
RenderPreview(RenderPreview const &, Inset const *);
|
||||
~RenderPreview();
|
||||
std::auto_ptr<RenderBase> clone(Inset const *) const;
|
||||
|
||||
/// Compute the size of the object, returned in dim
|
||||
|
@ -70,6 +70,9 @@ What's new
|
||||
- Fix crash when a user removes the underlying figure of a graphic inset
|
||||
that has been copied and pasted (Bug 4108).
|
||||
|
||||
- Fix crash when a user removes a formula when its preview is being generated.
|
||||
(gcc 3 only).
|
||||
|
||||
* DOCUMENTATION
|
||||
|
||||
- Embedded Objects manual: section about longtable alignment added
|
||||
|
Loading…
Reference in New Issue
Block a user