Change-Id: I41fd1463b6432818ee36e7f90e920a5fd98c7106
This commit is contained in:
Stephan Bergmann 2012-08-21 18:55:11 +02:00
parent df812bf9d5
commit 1316cfe8a7

View File

@ -199,7 +199,7 @@ void removeTree(OUString const & url) {
osl::FileBase::RC rc = osl::Directory::remove(url);
SAL_WARN_IF(
rc != osl::FileBase::E_None, "desktop",
"cannot remove directory " << url << ": " +rc);
"cannot remove directory " << url << ": " << +rc);
// at least on Windows XP removing some existing directories fails with
// osl::FileBase::E_ACCESS because they are read-only; but keeping those
// directories around should be harmless once they are empty