[Libreoffice-commits] core.git: Branch 'libreoffice-6-4-4' - svx/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue May 12 15:08:47 UTC 2020
svx/source/dialog/docrecovery.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 8a11c49299af5a8b5eda68ad535c0d45702e0919
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed May 6 20:17:28 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue May 12 17:08:12 2020 +0200
tdf#131956 dispose progressbar when its target is destroyed
Change-Id: Id54ac3a0ebfd360e4107583af7fb978aa69d3288
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93533
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl at cib.de>
(cherry picked from commit 509c94f1a94d9a2faf835862c400cd78385a2549)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93542
Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx
index 75b9f3b87042..cdefa9972966 100644
--- a/svx/source/dialog/docrecovery.cxx
+++ b/svx/source/dialog/docrecovery.cxx
@@ -602,6 +602,9 @@ SaveProgressDialog::SaveProgressDialog(weld::Window* pParent, RecoveryCore* pCor
SaveProgressDialog::~SaveProgressDialog()
{
+ css::uno::Reference<css::lang::XComponent> xComp(m_xProgress, css::uno::UNO_QUERY);
+ if (xComp)
+ xComp->dispose();
}
short SaveProgressDialog::run()
@@ -701,6 +704,9 @@ RecoveryDialog::RecoveryDialog(weld::Window* pParent, RecoveryCore* pCore)
RecoveryDialog::~RecoveryDialog()
{
+ css::uno::Reference<css::lang::XComponent> xComp(m_xProgress, css::uno::UNO_QUERY);
+ if (xComp)
+ xComp->dispose();
}
short RecoveryDialog::execute()
More information about the Libreoffice-commits
mailing list