diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-28 13:17:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-29 11:38:08 +0200 |
commit | f74ca230633442610399936e53692d360b5d4be6 (patch) | |
tree | b572c0a1bd252228586328863c7ec177bb2099a0 /ios | |
parent | d996f9c70122218ab84a1b22a658b718c382c877 (diff) |
Fix typo in code
It passed "make check" on Linux
Change-Id: I28493fc2dcafee176fa2c74868f55e223e3f1b11
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101613
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ios')
-rw-r--r-- | ios/LibreOfficeLight/LibreOfficeLight/LOKit/Document.swift | 2 | ||||
-rw-r--r-- | ios/LibreOfficeLight/LibreOfficeLight/LOKit/LibreOfficeKitIOSTests.swift | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ios/LibreOfficeLight/LibreOfficeLight/LOKit/Document.swift b/ios/LibreOfficeLight/LibreOfficeLight/LOKit/Document.swift index 4e3b4b20e409..53772c636a9e 100644 --- a/ios/LibreOfficeLight/LibreOfficeLight/LOKit/Document.swift +++ b/ios/LibreOfficeLight/LibreOfficeLight/LOKit/Document.swift @@ -78,7 +78,7 @@ open class Document * @return a rectangle list, using the same format as * LOK_CALLBACK_TEXT_SELECTION. */ - public func getPartRectanges() -> String + public func getPartRectangles() -> String { return toString( docClass.getPartPageRectangles(pDoc) ) ?? "" diff --git a/ios/LibreOfficeLight/LibreOfficeLight/LOKit/LibreOfficeKitIOSTests.swift b/ios/LibreOfficeLight/LibreOfficeLight/LOKit/LibreOfficeKitIOSTests.swift index de9f1ee82c2c..45682850bb7e 100644 --- a/ios/LibreOfficeLight/LibreOfficeLight/LOKit/LibreOfficeKitIOSTests.swift +++ b/ios/LibreOfficeLight/LibreOfficeLight/LOKit/LibreOfficeKitIOSTests.swift @@ -66,7 +66,7 @@ class LibreOfficeKitIOSTests: XCTestCase { //XCTAssertTrue(typ == LibreOfficeDocumentType.LOK_DOCTYPE_TEXT) doc.initializeForRendering() - let rects = doc.getPartRectanges() + let rects = doc.getPartRectangles() print(rects) // 284, 284, 12240, 15840; 284, 16408, 12240, 15840 let tileMode = doc.getTileMode() print(tileMode) // 1 |