Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8480c183
Kaydet (Commit)
8480c183
authored
Kas 19, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
file_error_transl.h -> file_error_transl.hxx
Change-Id: Ia71097a3d0fbeb606b1f6cfb7e6edb86bd45082a
üst
e46712f4
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
22 deletions
+13
-22
file.cxx
sal/osl/unx/file.cxx
+1
-1
file_error_transl.cxx
sal/osl/unx/file_error_transl.cxx
+3
-3
file_error_transl.hxx
sal/osl/unx/file_error_transl.hxx
+5
-14
file_misc.cxx
sal/osl/unx/file_misc.cxx
+1
-1
file_stat.cxx
sal/osl/unx/file_stat.cxx
+1
-1
file_url.cxx
sal/osl/unx/file_url.cxx
+1
-1
file_volume.cxx
sal/osl/unx/file_volume.cxx
+1
-1
No files found.
sal/osl/unx/file.cxx
Dosyayı görüntüle @
8480c183
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
#include "system.h"
#include "system.h"
#include "createfilehandlefromfd.hxx"
#include "createfilehandlefromfd.hxx"
#include "file_error_transl.h"
#include "file_error_transl.h
xx
"
#include "file_impl.hxx"
#include "file_impl.hxx"
#include "file_url.h"
#include "file_url.h"
#include "uunxapi.h"
#include "uunxapi.h"
...
...
sal/osl/unx/file_error_transl.cxx
Dosyayı görüntüle @
8480c183
...
@@ -18,16 +18,16 @@
...
@@ -18,16 +18,16 @@
*/
*/
#include <errno.h>
#include <errno.h>
#include "file_error_transl.h"
#include "file_error_transl.h
xx
"
#include <osl/diagnose.h>
#include <osl/diagnose.h>
oslFileError
oslTranslateFileError
(
sal_B
ool
bIsError
,
int
Errno
)
oslFileError
oslTranslateFileError
(
b
ool
bIsError
,
int
Errno
)
{
{
oslFileError
osl_error
=
osl_File_E_invalidError
;
oslFileError
osl_error
=
osl_File_E_invalidError
;
OSL_ENSURE
((
bIsError
&&
(
0
!=
Errno
))
||
(
!
bIsError
&&
(
0
==
Errno
)),
"oslTranslateFileError strange input combination!"
);
OSL_ENSURE
((
bIsError
&&
(
0
!=
Errno
))
||
(
!
bIsError
&&
(
0
==
Errno
)),
"oslTranslateFileError strange input combination!"
);
/* Have a look at file_error_transl.h for
/* Have a look at file_error_transl.h
xx
for
the reason that we do this here */
the reason that we do this here */
if
(
bIsError
&&
(
0
==
Errno
))
if
(
bIsError
&&
(
0
==
Errno
))
return
osl_error
;
return
osl_error
;
...
...
sal/osl/unx/file_error_transl.h
→
sal/osl/unx/file_error_transl.h
xx
Dosyayı görüntüle @
8480c183
...
@@ -17,17 +17,12 @@
...
@@ -17,17 +17,12 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
*/
#ifndef INCLUDED_SAL_OSL_UNX_FILE_ERROR_TRANSL_H
#ifndef INCLUDED_SAL_OSL_UNX_FILE_ERROR_TRANSL_H
XX
#define INCLUDED_SAL_OSL_UNX_FILE_ERROR_TRANSL_H
#define INCLUDED_SAL_OSL_UNX_FILE_ERROR_TRANSL_H
XX
#include <osl/file.h>
#include <osl/file.h>
#include <sal/types.h>
#include <sal/types.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/*********************************************
/*********************************************
oslTranslateFileError
oslTranslateFileError
Translate errno's to osl file errors
Translate errno's to osl file errors
...
@@ -49,14 +44,10 @@ extern "C"
...
@@ -49,14 +44,10 @@ extern "C"
*********************************************/
*********************************************/
#define OSL_FET_SUCCESS
sal_F
alse
#define OSL_FET_SUCCESS
f
alse
#define OSL_FET_ERROR
sal_T
rue
#define OSL_FET_ERROR
t
rue
oslFileError
oslTranslateFileError
(
sal_Bool
bIsError
,
int
Errno
);
oslFileError
oslTranslateFileError
(
bool
bIsError
,
int
Errno
);
#ifdef __cplusplus
}
#endif
#endif
#endif
...
...
sal/osl/unx/file_misc.cxx
Dosyayı görüntüle @
8480c183
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
#include "system.h"
#include "system.h"
#include "file_impl.hxx"
#include "file_impl.hxx"
#include "file_error_transl.h"
#include "file_error_transl.h
xx
"
#include "file_path_helper.hxx"
#include "file_path_helper.hxx"
#include "file_url.h"
#include "file_url.h"
#include "uunxapi.hxx"
#include "uunxapi.hxx"
...
...
sal/osl/unx/file_stat.cxx
Dosyayı görüntüle @
8480c183
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
#include <osl/diagnose.h>
#include <osl/diagnose.h>
#include "file_impl.hxx"
#include "file_impl.hxx"
#include "file_error_transl.h"
#include "file_error_transl.h
xx
"
#include "file_path_helper.hxx"
#include "file_path_helper.hxx"
#include "file_url.h"
#include "file_url.h"
#include "uunxapi.hxx"
#include "uunxapi.hxx"
...
...
sal/osl/unx/file_url.cxx
Dosyayı görüntüle @
8480c183
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
#include <rtl/ustrbuf.h>
#include <rtl/ustrbuf.h>
#include "rtl/textcvt.h"
#include "rtl/textcvt.h"
#include "file_error_transl.h"
#include "file_error_transl.h
xx
"
#include "file_path_helper.hxx"
#include "file_path_helper.hxx"
#include "uunxapi.hxx"
#include "uunxapi.hxx"
...
...
sal/osl/unx/file_volume.cxx
Dosyayı görüntüle @
8480c183
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#include "osl/thread.h"
#include "osl/thread.h"
#include "rtl/alloc.h"
#include "rtl/alloc.h"
#include "file_error_transl.h"
#include "file_error_transl.h
xx
"
#include "file_url.h"
#include "file_url.h"
#include "system.h"
#include "system.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment