diff options
-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 |