https://bugs.documentfoundation.org/show_bug.cgi?id=103667
--- Comment #9 from Julien Nabet <[email protected]> ---
About second bt, I tried this:
diff --git a/svtools/source/uno/genericunodialog.cxx
b/svtools/source/uno/genericunodialog.cxx
index 7f1b54b..35e20c7 100644
--- a/svtools/source/uno/genericunodialog.cxx
+++ b/svtools/source/uno/genericunodialog.cxx
@@ -189,7 +189,7 @@ bool OGenericUnoDialog::impl_ensureDialog_lck()
// #i65958# / 2006-07-07 / [email protected]
pDialog->AddEventListener( LINK( this, OGenericUnoDialog, OnDialogDying )
);
- m_pDialog = pDialog;
+ m_pDialog.reset(pDialog);
return true;
}
@@ -305,6 +305,7 @@ void SAL_CALL OGenericUnoDialog::initialize( const
Sequence< Any >& aArguments )
void OGenericUnoDialog::destroyDialog()
{
SolarMutexGuard aSolarGuard;
+ m_pDialog->RemoveEventListener( LINK( this, OGenericUnoDialog,
OnDialogDying ) );
m_pDialog.disposeAndClear();
}
About the first change, I'm not sure but with second change
I don't have "OGenericUnoDialog::OnDialogDying: where does this come from?"
with it
Any thoughts?
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs