[Libreoffice-commits] core.git: ios/LibreOfficeLight
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Tue Sep 1 07:22:45 UTC 2020
ios/LibreOfficeLight/LibreOfficeLight/DocumentController.swift | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 9b44940ec94f3fc2f4591ba2aca09c6a029c7799
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 31 14:32:46 2020 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
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 <serval2412 at yahoo.fr>
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
More information about the Libreoffice-commits
mailing list