summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Castagno <giuseppe.castagno@acca-esse.eu>2015-10-08 11:04:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-16 08:35:05 +0000
commit9a75c72495ed6014d6c84fdead14bef68ea32858 (patch)
tree21ee50fa2d25f8374c632c5c7af5229c1742dd9f
parent861a9369dd42fe7cd92bcbfe72d96f2f15a9ccb5 (diff)
tdf#94888: Accessing Sharepoint r/o share through UNC path does not work
Added a Windows API missing error. The error added: ERROR_CANT_ACCESS_FILE returned when a file cannot be accessed by the system. Mapped to existent osl_File_E_.... for compatibility. Change-Id: Ia68cdf761a62db8960b143a69ccfa3e12fc6eac5 Reviewed-on: https://gerrit.libreoffice.org/19270 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> (cherry picked from commit b49a2f7373e950efc3fe11b89309313ac69c1e1f) Reviewed-on: https://gerrit.libreoffice.org/19374 Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--sal/osl/w32/file_error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/osl/w32/file_error.c b/sal/osl/w32/file_error.c
index 2d7243dd0073..cdb8571ab97d 100644
--- a/sal/osl/w32/file_error.c
+++ b/sal/osl/w32/file_error.c
@@ -86,6 +86,7 @@ static const struct osl_file_error_entry errtable[] = {
{ ERROR_FILE_CHECKED_OUT, osl_File_E_ACCES }, /* 220 */
{ 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 */
};