Kaydet (Commit) f728eda9 authored tarafından Luboš Luňák's avatar Luboš Luňák

unlink() doesn't work that well with URLs

Change-Id: I1d0cbd8b8cbbd3ea5c73d0cea6d9e354b1740c7c
üst 5e0bd1f7
......@@ -120,7 +120,7 @@ static sal_Bool cleanPath()
void removeIfExists(const OString& pathname)
{
unlink(pathname.getStr());
osl::File::remove(OStringToOUString(pathname, RTL_TEXTENCODING_UTF8));
}
sal_Int32 SAL_CALL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment