[Libreoffice-commits] online.git: ios/Mobile

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Mon Apr 6 10:49:36 UTC 2020


 ios/Mobile/DocumentViewController.mm |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 312caf918b464556be0847d2c695a3a5a5e18388
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Mon Apr 6 12:36:03 2020 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Mon Apr 6 12:49:18 2020 +0200

    Add comment
    
    Change-Id: I452b1d6fc150d014a5d55df71e9dae96288e67de
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91740
    Tested-by: Tor Lillqvist <tml at collabora.com>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/ios/Mobile/DocumentViewController.mm b/ios/Mobile/DocumentViewController.mm
index 7bd3bca6d..94dbd839c 100644
--- a/ios/Mobile/DocumentViewController.mm
+++ b/ios/Mobile/DocumentViewController.mm
@@ -469,6 +469,8 @@ static IMP standardImpOfInputAccessoryView = nil;
     // Close one end of the socket pair, that will wake up the forwarding thread above
     fakeSocketClose(closeNotificationPipeForForwardingThread[0]);
 
+    // I suspect that what this will do (in -[CODocument contentsForType:error:]) is to read the
+    // contents of the file that LO core already saved, and overwrite it with the same contents.
     [self.document saveToURL:[self.document fileURL]
             forSaveOperation:UIDocumentSaveForOverwriting
            completionHandler:^(BOOL success) {


More information about the Libreoffice-commits mailing list