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
fb345397
Kaydet (Commit)
fb345397
authored
May 15, 2018
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Guard static variables, tdf#115007 tdf#117171 follow-up
Change-Id: Ib8f73ceefb8278b6233d46d86a34a3869622239f
üst
9aff7f3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
nativenumbersupplier.cxx
i18npool/source/nativenumber/nativenumbersupplier.cxx
+5
-0
No files found.
i18npool/source/nativenumber/nativenumbersupplier.cxx
Dosyayı görüntüle @
fb345397
...
...
@@ -63,6 +63,8 @@ typedef struct {
namespace
i18npool
{
struct
theNatNumMutex
:
public
rtl
::
Static
<
osl
::
Mutex
,
theNatNumMutex
>
{};
OUString
getHebrewNativeNumberString
(
const
OUString
&
aNumberString
,
bool
useGeresh
);
OUString
getCyrillicNativeNumberString
(
const
OUString
&
aNumberString
);
...
...
@@ -560,6 +562,9 @@ OUString getNumberText(const Locale& aLocale, sal_Int16 numType, const OUString&
OUString
aNumberStr
=
sBuf
.
makeStringAndClear
();
// Guard the static variables below.
osl
::
MutexGuard
aGuard
(
theNatNumMutex
::
get
());
static
auto
xNumberText
=
css
::
linguistic2
::
NumberText
::
create
(
comphelper
::
getProcessComponentContext
());
OUString
aLoc
=
LanguageTag
::
convertToBcp47
(
aLocale
);
...
...
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