diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-05-20 20:44:25 +0300 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-05-22 08:58:00 +0200 |
commit | c8c7f19073eb7c2697cfe78de9e708ddc714c42a (patch) | |
tree | 41bbfea18de7d09c8e8dce6269f1d0e107a9531a /jurt | |
parent | 059872b47ed957e847a3fe63bd35793ba93c4c32 (diff) |
Really don't show empty Writer document on cancelled recovery
Commit b5ad981518f4407243f89507b2561dd0b1ef28ee tried to make that,
but either didn't work on all platforms, or was broken later. Then,
commit fbe9accf36ac4c52ef5bcb84d455b4d06c317668 handled one special
case.
The problem is that cancelling recovery returns false. It's unclear
why the distinction should be done for the cancelled recovery case:
in any case, if the recovery has opened some documents, it will be
handled in the code that enumerates frames ("no default document if
a document was loaded by recovery..." comment). In other cases, we
need to honour user command line parameters (selected module), and
if none is specified, do the global default, which is currently to
show Start Center. So - let the OpenDefault() do just that.
Change-Id: I90f3581fc72628d1317e97074a4a1d352d630c7e
Reviewed-on: https://gerrit.libreoffice.org/54604
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'jurt')
0 files changed, 0 insertions, 0 deletions