forked from openlp/openlp
None tests redux
This commit is contained in:
parent
0baa0e6884
commit
132022205e
@ -165,7 +165,7 @@ class PowerpointDocument(PresentationDocument):
|
|||||||
Triggerent by new object being added to SlideController orOpenLP
|
Triggerent by new object being added to SlideController orOpenLP
|
||||||
being shut down
|
being shut down
|
||||||
"""
|
"""
|
||||||
if self.presentation == None:
|
if self.presentation is None:
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
self.presentation.Close()
|
self.presentation.Close()
|
||||||
@ -181,9 +181,9 @@ class PowerpointDocument(PresentationDocument):
|
|||||||
if not self.controller.is_loaded():
|
if not self.controller.is_loaded():
|
||||||
return False
|
return False
|
||||||
try:
|
try:
|
||||||
if self.presentation.SlideShowWindow == None:
|
if self.presentation.SlideShowWindow is None:
|
||||||
return False
|
return False
|
||||||
if self.presentation.SlideShowWindow.View == None:
|
if self.presentation.SlideShowWindow.View is None:
|
||||||
return False
|
return False
|
||||||
except:
|
except:
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user