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
d261ddf3
Kaydet (Commit)
d261ddf3
authored
Eyl 05, 2013
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use replace with sal_Unicode instead of replaceAll with OUString
Change-Id: I69eda64c3604f4a38fade5dbc912879937b95e0a
üst
a6c73c20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
localedata.cxx
i18npool/source/localedata/localedata.cxx
+3
-3
No files found.
i18npool/source/localedata/localedata.cxx
Dosyayı görüntüle @
d261ddf3
...
...
@@ -1520,7 +1520,7 @@ LocaleData::getAllInstalledLocaleNames() throw(RuntimeException)
if
(
lcl_LookupTableStatic
::
get
().
getFunctionSymbolByName
(
name
,
"getLocaleItem"
,
&
pCachedItem
))
{
if
(
pCachedItem
)
cachedItem
.
reset
(
pCachedItem
);
seq
[
nInstalled
++
]
=
LanguageTag
::
convertToLocale
(
name
.
replace
All
(
"_"
,
"-"
),
false
);
seq
[
nInstalled
++
]
=
LanguageTag
::
convertToLocale
(
name
.
replace
(
under
,
'-'
),
false
);
}
else
{
...
...
@@ -1628,7 +1628,7 @@ LocaleData::getSupportedServiceNames() throw( RuntimeException )
OUString
LocaleData
::
getFirstLocaleServiceName
(
const
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
)
{
if
(
rLocale
.
Language
==
I18NLANGTAG_QLT
)
return
rLocale
.
Variant
.
replace
All
(
"-"
,
"_"
);
return
rLocale
.
Variant
.
replace
(
'-'
,
under
);
else
if
(
!
rLocale
.
Country
.
isEmpty
())
return
rLocale
.
Language
+
"_"
+
rLocale
.
Country
;
else
...
...
@@ -1645,7 +1645,7 @@ OUString LocaleData::getFirstLocaleServiceName( const com::sun::star::lang::Loca
aVec
.
erase
(
aVec
.
begin
());
for
(
::
std
::
vector
<
OUString
>::
iterator
it
(
aVec
.
begin
());
it
!=
aVec
.
end
();
++
it
)
{
*
it
=
(
*
it
).
replace
All
(
"-"
,
"_"
);
*
it
=
(
*
it
).
replace
(
'-'
,
under
);
}
}
else
if
(
!
rLocale
.
Country
.
isEmpty
())
...
...
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