diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-31 14:32:46 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-01 09:22:09 +0200 |
commit | 9b44940ec94f3fc2f4591ba2aca09c6a029c7799 (patch) | |
tree | 084cd8899896b565a02fc66df36a8cbfc828f49e /ios | |
parent | 3426cc7a4a19cb5d9ea5ba6b12f1eb5a901d5cfe (diff) |
Fix typo in code
It passed "make check" on Linux
Change-Id: I67e533b8ecececd4c885de7e52eb23ae3e0d50cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101775
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'ios')
-rw-r--r-- | ios/LibreOfficeLight/LibreOfficeLight/DocumentController.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/LibreOfficeLight/LibreOfficeLight/DocumentController.swift b/ios/LibreOfficeLight/LibreOfficeLight/DocumentController.swift index 5743a1f4e7c9..d06ccac4e728 100644 --- a/ios/LibreOfficeLight/LibreOfficeLight/DocumentController.swift +++ b/ios/LibreOfficeLight/LibreOfficeLight/DocumentController.swift @@ -395,9 +395,9 @@ class DocumentController: UIViewController, MenuDelegate, UIDocumentBrowserViewC // TODO - cleanup self.document = nil } - if let exisitingView = self.documentView + if let existingView = self.documentView { - exisitingView.removeFromSuperview() + existingView.removeFromSuperview() self.documentView = nil // forces the close of the view and it's held documents before we setup the new one } // also remove current overlays and start fresh |