desktop/source/deployment/gui/dp_gui_theextmgr.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 3adeac61eee9f681b9791936e06cdb016574fc6e
Author:     Caolán McNamara <[email protected]>
AuthorDate: Tue Oct 29 15:43:34 2019 +0000
Commit:     Caolán McNamara <[email protected]>
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 <[email protected]>
    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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to