diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-10-21 17:51:19 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-01-19 18:12:50 +0100 |
commit | bd7d97e74e392c771878e0c2fe55e7ddea49edc4 (patch) | |
tree | dfecc37e99c22a183fe7dee609cafd7f0c52ead3 /comphelper/source | |
parent | 16b2351c8f67366942507c07cadf82c39e05a887 (diff) |
profilesafe: Make sure no recursive saving happens
Change-Id: Idd57a948fcaaf23614ca1a92051a50b86e4bb0c5
Reviewed-on: https://gerrit.libreoffice.org/30145
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
Diffstat (limited to 'comphelper/source')
-rw-r--r-- | comphelper/source/misc/backupfilehelper.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx index dd0af8d6709a..545464d38826 100644 --- a/comphelper/source/misc/backupfilehelper.cxx +++ b/comphelper/source/misc/backupfilehelper.cxx @@ -2617,6 +2617,10 @@ namespace comphelper maDirs, maFiles); + // should not extist, but for the case an error occurred and it got + // copied somehow, avoid further recurive copying/saving + maDirs.erase("SafeMode"); + // not really needed, can be abandoned maDirs.erase("psprint"); |