diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2022-04-13 13:52:40 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2022-04-13 18:23:02 +0200 |
commit | d2572dc9d6c7cda9d6e08e46c42048e12e4f04e0 (patch) | |
tree | 633d016dab798a9928d7e4c50e762c1a1bc8ee43 /install-sh | |
parent | 4476fd51a324930e832535c10979564afc6968f2 (diff) |
android: Deduplicate LOKitThread#load{,New}Document
After Change-Id I15ecc2eba6c5ee441f6e14f8229594cab05dbba7
"tdf#148556 android: Don't delay refresh when loading doc",
the only thing that `LOKitThread#loadNewDocument` does
in addition to `LOKithThread#loadDocument` is to save the
newly created document (to a temp file) if loading was
successful.
So, have `loadDocument` return a boolean saying whether
loading was successful and call that method from
`loadNewDocument` to reduce duplication.
Change-Id: I9b99e011b3f5105bb60f95174de393462ff08271
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132966
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'install-sh')
0 files changed, 0 insertions, 0 deletions