diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-12-09 23:28:58 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-12-09 23:28:58 +0100 |
commit | fbfda39d26da6747edb3a4c6d593be7e6b2b0f1d (patch) | |
tree | 83a532200a69180876d3738ecca0c59e5b1bac27 /wizards | |
parent | 5020526b6e04fe21c0d7027e2e3070dad08dd6d9 (diff) |
Python/pep8: fix E711 in document module
Change-Id: I76efd29101d191fae6560d177a79710329ac2596
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/document/OfficeDocument.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/document/OfficeDocument.py b/wizards/com/sun/star/wizards/document/OfficeDocument.py index 69391bbbcb4b..8abc1e1bfbf7 100644 --- a/wizards/com/sun/star/wizards/document/OfficeDocument.py +++ b/wizards/com/sun/star/wizards/document/OfficeDocument.py @@ -64,7 +64,7 @@ class OfficeDocument(object): def dispose(self, xMSF, xComponent): try: - if xComponent != None: + if xComponent is not None: xFrame = xComponent.CurrentController.Frame if xComponent.isModified(): xComponent.setModified(False) @@ -228,7 +228,7 @@ class OfficeDocument(object): def close(self, xComponent): bState = False - if xComponent != None: + if xComponent is not None: try: xComponent.close(True) bState = True |