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
e3c05e34
Kaydet (Commit)
e3c05e34
authored
Eyl 17, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Improvement on previous commit
Change-Id: I609961ece562b7e02c542cfeb23d7c584a9663d9
üst
369e3fdc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
25 deletions
+13
-25
localedatawrapper.cxx
unotools/source/i18n/localedatawrapper.cxx
+13
-25
No files found.
unotools/source/i18n/localedatawrapper.cxx
Dosyayı görüntüle @
e3c05e34
...
...
@@ -71,11 +71,11 @@ LocaleDataWrapper::LocaleDataWrapper(
)
:
xSMgr
(
xSF
),
xLD
(
LocaleData
::
create
(
comphelper
::
ComponentContext
(
xSMgr
).
getUNOContext
())
),
bLocaleDataItemValid
(
sal_False
),
bReservedWordValid
(
sal_False
)
{
setLocale
(
rLocale
);
xLD
=
LocaleData
::
create
(
comphelper
::
ComponentContext
(
xSMgr
).
getUNOContext
());
}
...
...
@@ -131,8 +131,7 @@ void LocaleDataWrapper::invalidateData()
{
try
{
if
(
xLD
.
is
()
)
return
xLD
->
getLanguageCountryInfo
(
getLocale
()
);
return
xLD
->
getLanguageCountryInfo
(
getLocale
()
);
}
catch
(
const
Exception
&
e
)
{
...
...
@@ -146,8 +145,7 @@ void LocaleDataWrapper::invalidateData()
{
try
{
if
(
xLD
.
is
()
)
return
xLD
->
getLocaleItem
(
getLocale
()
);
return
xLD
->
getLocaleItem
(
getLocale
()
);
}
catch
(
const
Exception
&
e
)
{
...
...
@@ -161,8 +159,7 @@ void LocaleDataWrapper::invalidateData()
{
try
{
if
(
xLD
.
is
()
)
return
xLD
->
getAllCurrencies2
(
getLocale
()
);
return
xLD
->
getAllCurrencies2
(
getLocale
()
);
}
catch
(
const
Exception
&
e
)
{
...
...
@@ -176,8 +173,7 @@ void LocaleDataWrapper::invalidateData()
{
try
{
if
(
xLD
.
is
()
)
return
xLD
->
getAllFormats
(
getLocale
()
);
return
xLD
->
getAllFormats
(
getLocale
()
);
}
catch
(
const
Exception
&
e
)
{
...
...
@@ -191,8 +187,7 @@ void LocaleDataWrapper::invalidateData()
{
try
{
if
(
xLD
.
is
()
)
return
xLD
->
getForbiddenCharacters
(
getLocale
()
);
return
xLD
->
getForbiddenCharacters
(
getLocale
()
);
}
catch
(
const
Exception
&
e
)
{
...
...
@@ -206,8 +201,7 @@ void LocaleDataWrapper::invalidateData()
{
try
{
if
(
xLD
.
is
()
)
return
xLD
->
getReservedWord
(
getLocale
()
);
return
xLD
->
getReservedWord
(
getLocale
()
);
}
catch
(
const
Exception
&
e
)
{
...
...
@@ -226,8 +220,7 @@ void LocaleDataWrapper::invalidateData()
try
{
if
(
xLD
.
is
()
)
rInstalledLocales
=
xLD
->
getAllInstalledLocaleNames
();
rInstalledLocales
=
xLD
->
getAllInstalledLocaleNames
();
}
catch
(
const
Exception
&
e
)
{
...
...
@@ -1832,8 +1825,7 @@ void LocaleDataWrapper::evaluateLocaleDataChecking()
{
try
{
if
(
xLD
.
is
()
)
return
xLD
->
getAllCalendars2
(
getLocale
()
);
return
xLD
->
getAllCalendars2
(
getLocale
()
);
}
catch
(
const
Exception
&
e
)
{
...
...
@@ -1856,12 +1848,9 @@ void LocaleDataWrapper::evaluateLocaleDataChecking()
try
{
if
(
xLD
.
is
()
)
{
const_cast
<
LocaleDataWrapper
*>
(
this
)
->
aDateAcceptancePatterns
=
xLD
->
getDateAcceptancePatterns
(
getLocale
()
);
return
aDateAcceptancePatterns
;
}
const_cast
<
LocaleDataWrapper
*>
(
this
)
->
aDateAcceptancePatterns
=
xLD
->
getDateAcceptancePatterns
(
getLocale
()
);
return
aDateAcceptancePatterns
;
}
catch
(
const
Exception
&
e
)
{
...
...
@@ -1881,8 +1870,7 @@ void LocaleDataWrapper::setDateAcceptancePatterns(
{
try
{
if
(
xLD
.
is
()
)
aDateAcceptancePatterns
=
xLD
->
getDateAcceptancePatterns
(
getLocale
()
);
aDateAcceptancePatterns
=
xLD
->
getDateAcceptancePatterns
(
getLocale
()
);
}
catch
(
const
Exception
&
e
)
{
...
...
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