Author: pescetti
Date: Sat Oct 17 19:56:25 2015
New Revision: 1709212

URL: http://svn.apache.org/viewvc?rev=1709212&view=rev
Log:
#i126582# Prevent errors with read/only shares on Sharepoint.
Patch by: Giuseppe Castagno

Added a Windows API missing error:
ERROR_CANT_ACCESS_FILE
file cannot be accessed by the system.


Modified:
    openoffice/trunk/main/sal/osl/w32/file_error.c

Modified: openoffice/trunk/main/sal/osl/w32/file_error.c
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sal/osl/w32/file_error.c?rev=1709212&r1=1709211&r2=1709212&view=diff
==============================================================================
--- openoffice/trunk/main/sal/osl/w32/file_error.c (original)
+++ openoffice/trunk/main/sal/osl/w32/file_error.c Sat Oct 17 19:56:25 2015
@@ -87,6 +87,7 @@ static const struct osl_file_error_entry
   {  ERROR_NESTING_NOT_ALLOWED,    osl_File_E_AGAIN    },  /* 215 */
   {  ERROR_DIRECTORY,              osl_File_E_NOENT    },  /* 267 */
   {  ERROR_NOT_ENOUGH_QUOTA,       osl_File_E_NOMEM    },  /* 1816 */
+  {  ERROR_CANT_ACCESS_FILE,       osl_File_E_ACCES    },  /* 1920 */
   {  ERROR_UNEXP_NET_ERR,          osl_File_E_NETWORK  },   /* 59 */
   {  ERROR_FILE_CHECKED_OUT,       osl_File_E_LOCKED   },   /* 220 The file is 
locked or checked out by another user. */
   {  ERROR_INVALID_NAME,           osl_File_E_NOENT    }   /*  123 One or more 
of the names composing the file path has a wrong syntax. */


Reply via email to