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
af63fbbf
Kaydet (Commit)
af63fbbf
authored
Kas 29, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert xub_StrLen->sal_Int32 in unotools
Change-Id: If00ae920eb74dfe67a8654bb092879997f37ccc1
üst
9dae1c5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
localedatawrapper.cxx
unotools/source/i18n/localedatawrapper.cxx
+2
-2
No files found.
unotools/source/i18n/localedatawrapper.cxx
Dosyayı görüntüle @
af63fbbf
...
...
@@ -1209,7 +1209,7 @@ inline sal_Unicode* ImplAddString( sal_Unicode* pBuf, sal_Unicode c )
}
inline
sal_Unicode
*
ImplAddString
(
sal_Unicode
*
pBuf
,
const
sal_Unicode
*
pCopyBuf
,
xub_StrLen
nLen
)
inline
sal_Unicode
*
ImplAddString
(
sal_Unicode
*
pBuf
,
const
sal_Unicode
*
pCopyBuf
,
sal_Int32
nLen
)
{
memcpy
(
pBuf
,
pCopyBuf
,
nLen
*
sizeof
(
sal_Unicode
)
);
return
pBuf
+
nLen
;
...
...
@@ -1560,7 +1560,7 @@ OUString LocaleDataWrapper::getCurr( sal_Int64 nNumber, sal_uInt16 nDecimals,
// convert number
sal_Unicode
*
pEndNumBuf
=
ImplAddFormatNum
(
pNumBuffer
,
nNumber
,
nDecimals
,
bUseThousandSep
,
sal_True
);
xub_StrLen
nNumLen
=
(
xub_StrLen
)(
sal_uLong
)(
pEndNumBuf
-
pNumBuffer
);
sal_Int32
nNumLen
=
(
sal_Int32
)(
sal_uLong
)(
pEndNumBuf
-
pNumBuffer
);
// replace zeros with zero character
if
(
(
cZeroChar
!=
'0'
)
&&
nDecimals
/* && IsNumTrailingZeros() */
)
...
...
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