diff options
Diffstat (limited to 'sal/osl/unx/file_misc.cxx')
-rw-r--r-- | sal/osl/unx/file_misc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/file_misc.cxx b/sal/osl/unx/file_misc.cxx index f238f28af50f..7662d9f6bf74 100644 --- a/sal/osl/unx/file_misc.cxx +++ b/sal/osl/unx/file_misc.cxx @@ -915,11 +915,11 @@ static int oslDoCopyFile(const sal_Char* pszSourceFileName, const sal_Char* pszD int DestFileFD=0; int nRet=0; - if (osl_openFilePath(pszSourceFileName, + if (openFilePath(pszSourceFileName, &SourceFileFH, osl_File_OpenFlag_Read|osl_File_OpenFlag_NoLock|osl_File_OpenFlag_NoExcl) != osl_File_E_None) { - // Let's hope errno is still set relevantly after osl_openFilePath... + // Let's hope errno is still set relevantly after openFilePath... nRet=errno; return nRet; } |