profilesafe: Deeper integration with SafeMode

Desktop / LibreOffice - Armin Le Grand [cib.de] - 19 October 2016 05:50 UTC

Added deeper integration by saving at SaveMode content of user dir completely to a user/SafeMode dir, including the whole stack of pack files. Repair happens in that safe directory, so that the user dir is resetted to default when re-started in SafeMode. All changes (including complete deletion) are played back to the user config at first restart with disabled SafeMode

Change-Id: I5114c7d5d04582be62090707bc9b97afa55fc1f1 Reviewed-on: https://gerrit.libreoffice.org/30003

0f5d4da profilesafe: Deeper integration with SafeMode
comphelper/source/misc/backupfilehelper.cxx | 434 +++++++++++++++++++++------
desktop/source/app/app.cxx | 9 +
include/comphelper/backupfilehelper.hxx | 34 ++-
svx/source/dialog/SafeModeDialog.cxx | 8 +-
4 files changed, 377 insertions(+), 108 deletions(-)

Upstream: cgit.freedesktop.org


  • Share