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
8cbfce51
Kaydet (Commit)
8cbfce51
authored
Kas 19, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Unused return value
Change-Id: I963d001aee68f1218ba7273562cb41f3cf4c5e20
üst
691f11eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
nlsupport.hxx
sal/osl/unx/nlsupport.hxx
+1
-1
osxlocale.cxx
sal/osl/unx/osxlocale.cxx
+1
-3
No files found.
sal/osl/unx/nlsupport.hxx
Dosyayı görüntüle @
8cbfce51
...
@@ -28,7 +28,7 @@ void _imp_getProcessLocale( rtl_Locale ** );
...
@@ -28,7 +28,7 @@ void _imp_getProcessLocale( rtl_Locale ** );
int
_imp_setProcessLocale
(
rtl_Locale
*
);
int
_imp_setProcessLocale
(
rtl_Locale
*
);
#if defined IOS || defined MACOSX
#if defined IOS || defined MACOSX
int
macosx_getLocale
(
char
*
locale
,
sal_uInt32
bufferLen
);
void
macosx_getLocale
(
char
*
locale
,
sal_uInt32
bufferLen
);
#endif
#endif
#endif
#endif
...
...
sal/osl/unx/osxlocale.cxx
Dosyayı görüntüle @
8cbfce51
...
@@ -63,7 +63,7 @@ namespace
...
@@ -63,7 +63,7 @@ namespace
/** Grab current locale from system.
/** Grab current locale from system.
*/
*/
int
macosx_getLocale
(
char
*
locale
,
sal_uInt32
bufferLen
)
void
macosx_getLocale
(
char
*
locale
,
sal_uInt32
bufferLen
)
{
{
CFStringRef
sref
=
getProcessLocale
();
CFStringRef
sref
=
getProcessLocale
();
CFStringGuard
sGuard
(
sref
);
CFStringGuard
sGuard
(
sref
);
...
@@ -91,8 +91,6 @@ int macosx_getLocale(char *locale, sal_uInt32 bufferLen)
...
@@ -91,8 +91,6 @@ int macosx_getLocale(char *locale, sal_uInt32 bufferLen)
// system interface is UTF-8 based and sal tries to determine
// system interface is UTF-8 based and sal tries to determine
// the file system locale from the locale information
// the file system locale from the locale information
strlcat
(
locale
,
".UTF-8"
,
bufferLen
-
strlen
(
locale
));
strlcat
(
locale
,
".UTF-8"
,
bufferLen
-
strlen
(
locale
));
return
noErr
;
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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