[Libreoffice-commits] .: idlc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Dec 2 07:20:16 PST 2012
idlc/source/idlcproduce.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f728eda90912ee0e2072e422dcf7eb6589d24497
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Sun Dec 2 16:15:22 2012 +0100
unlink() doesn't work that well with URLs
Change-Id: I1d0cbd8b8cbbd3ea5c73d0cea6d9e354b1740c7c
diff --git a/idlc/source/idlcproduce.cxx b/idlc/source/idlcproduce.cxx
index 3fd04b6..93dc8ba 100644
--- a/idlc/source/idlcproduce.cxx
+++ b/idlc/source/idlcproduce.cxx
@@ -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
More information about the Libreoffice-commits
mailing list