summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorGiuseppe Castagno <giuseppe.castagno@acca-esse.eu>2015-10-08 11:04:07 +0200
committerAndras Timar <andras.timar@collabora.com>2015-10-17 23:23:38 +0200
commit4c4d4c00bded1d35d870382fb8ede15c0fd12d12 (patch)
tree6cb6880835ec7ff5aaab658af93f1ade882de111 /sal
parentb27cf759f651db13205a01346fd658469aaa8915 (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> (cherry picked from commit 9a75c72495ed6014d6c84fdead14bef68ea32858)
Diffstat (limited to 'sal')
-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 */
};