Add comment

Change-Id: I452b1d6fc150d014a5d55df71e9dae96288e67de
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91740
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
This commit is contained in:
Tor Lillqvist 2020-04-06 12:36:03 +03:00
parent 05a29a19d5
commit 312caf918b

View file

@ -469,6 +469,8 @@ static IMP standardImpOfInputAccessoryView = nil;
// Close one end of the socket pair, that will wake up the forwarding thread above // Close one end of the socket pair, that will wake up the forwarding thread above
fakeSocketClose(closeNotificationPipeForForwardingThread[0]); 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] [self.document saveToURL:[self.document fileURL]
forSaveOperation:UIDocumentSaveForOverwriting forSaveOperation:UIDocumentSaveForOverwriting
completionHandler:^(BOOL success) { completionHandler:^(BOOL success) {