ios/LibreOfficeLight/LibreOfficeLight/LOKit/Document.swift | 2 +- ios/LibreOfficeLight/LibreOfficeLight/LOKit/LibreOfficeKitIOSTests.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit f74ca230633442610399936e53692d360b5d4be6 Author: Andrea Gelmini <[email protected]> AuthorDate: Fri Aug 28 13:17:08 2020 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Sat Aug 29 11:38:08 2020 +0200 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 <[email protected]> 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 _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
