[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - desktop/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Oct 30 11:12:17 UTC 2019
desktop/source/deployment/gui/dp_gui_theextmgr.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 3adeac61eee9f681b9791936e06cdb016574fc6e
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Oct 29 15:43:34 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Oct 30 12:11:21 2019 +0100
Resolves: tdf#127645 fix crash on revisit to check updates
Change-Id: I64474d014754e6a58aa8a9b037c336997c44daf2
Reviewed-on: https://gerrit.libreoffice.org/81694
Reviewed-by: Michael Stahl <michael.stahl at cib.de>
Tested-by: Jenkins
diff --git a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx
index 0ee63dabc400..6d8482e3b5cd 100644
--- a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx
+++ b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx
@@ -196,13 +196,12 @@ sal_Int16 TheExtensionManager::execute()
return nRet;
}
-
bool TheExtensionManager::isVisible()
{
- return getDialog()->get_visible();
+ weld::Window* pDialog = getDialog();
+ return pDialog && pDialog->get_visible();
}
-
void TheExtensionManager::checkUpdates()
{
std::vector< uno::Reference< deployment::XPackage > > vEntries;
More information about the Libreoffice-commits
mailing list