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
1a725ff0
Kaydet (Commit)
1a725ff0
authored
Eki 06, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cast to size_t altogether
Change-Id: I93cb374bd9743c45c4f3a98799a5f448dbb46fd8
üst
5c1482c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
uwriter.cxx
sw/qa/core/uwriter.cxx
+2
-2
No files found.
sw/qa/core/uwriter.cxx
Dosyayı görüntüle @
1a725ff0
...
...
@@ -964,8 +964,8 @@ static SwPosition
getRandomPosition
(
SwDoc
*
pDoc
,
int
/* nOffset */
)
{
const
SwPosition
aPos
(
pDoc
->
GetNodes
().
GetEndOfContent
());
s
al_uLong
nNodes
=
aPos
.
nNode
.
GetNode
().
GetIndex
()
-
aPos
.
nNode
.
GetNode
().
StartOfSectionIndex
();
s
al_uLong
n
=
comphelper
::
rng
::
uniform_int_distribution
(
static_cast
<
sal_uLong
>
(
0
),
nNodes
);
s
ize_t
nNodes
=
aPos
.
nNode
.
GetNode
().
GetIndex
()
-
aPos
.
nNode
.
GetNode
().
StartOfSectionIndex
();
s
ize_t
n
=
comphelper
::
rng
::
uniform_int_distribution
(
static_cast
<
size_t
>
(
0
),
nNodes
);
SwPaM
pam
(
aPos
);
for
(
sal_uLong
i
=
0
;
i
<
n
;
++
i
)
{
...
...
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