[Libreoffice-commits] core.git: wizards/com

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Jul 19 07:29:51 UTC 2018


 wizards/com/sun/star/wizards/document/OfficeDocument.py |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit a8e657e9d04f908388580039a0ac5b9348dfee60
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jul 18 13:41:15 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jul 19 09:29:27 2018 +0200

    Related: rhbz#1602589 null_check: 'xComponent'
    
    Change-Id: I591f9fa611c0ad0d1631d179b7263f83613badfb
    Reviewed-on: https://gerrit.libreoffice.org/57640
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/wizards/com/sun/star/wizards/document/OfficeDocument.py b/wizards/com/sun/star/wizards/document/OfficeDocument.py
index 6ebb7d389fed..b0bcbf91e27e 100644
--- a/wizards/com/sun/star/wizards/document/OfficeDocument.py
+++ b/wizards/com/sun/star/wizards/document/OfficeDocument.py
@@ -196,7 +196,6 @@ class OfficeDocument(object):
                 bState = False
 
         else:
-            xComponent.dispose()
             bState = True
 
         return bState


More information about the Libreoffice-commits mailing list