[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - svx/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri May 8 08:40:34 UTC 2020
svx/source/dialog/docrecovery.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 509c94f1a94d9a2faf835862c400cd78385a2549
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed May 6 20:17:28 2020 +0100
Commit: Michael Stahl <michael.stahl at cib.de>
CommitDate: Fri May 8 10:40:02 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>
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