ios/LibreOfficeLight/LibreOfficeLight/DocumentController.swift |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9b44940ec94f3fc2f4591ba2aca09c6a029c7799
Author:     Andrea Gelmini <[email protected]>
AuthorDate: Mon Aug 31 14:32:46 2020 +0200
Commit:     Julien Nabet <[email protected]>
CommitDate: Tue Sep 1 09:22:09 2020 +0200

    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 <[email protected]>

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
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to