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>
This commit is contained in:
Armin Le Grand 2016-10-21 17:51:19 +02:00
parent 5819448023
commit 8dcad50137

View File

@ -2613,6 +2613,10 @@ namespace comphelper
maDirs, maDirs,
maFiles); 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 // not really needed, can be abandoned
maDirs.erase("psprint"); maDirs.erase("psprint");