diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-10-21 17:51:19 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-10-21 17:39:23 +0000 |
commit | 8dcad50137bdcfd1fd1ef444b3397bdec1d5417a (patch) | |
tree | 7e031a20c2ac9bccdfdf18fa54604da7feee5375 /comphelper | |
parent | 5819448023377b81ac785dc31ccf8333562ee51f (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')
-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 d8780d94b7de..0615117d366d 100644 --- a/comphelper/source/misc/backupfilehelper.cxx +++ b/comphelper/source/misc/backupfilehelper.cxx @@ -2613,6 +2613,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"); |