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
f0d05ed0
Kaydet (Commit)
f0d05ed0
authored
May 25, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_uInt16 to size_t
Change-Id: I03d205d8c11be7e5b5aca3c711dd26e52f174fff
üst
88c397aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
unoportenum.cxx
sw/source/core/unocore/unoportenum.cxx
+2
-2
unoredline.cxx
sw/source/core/unocore/unoredline.cxx
+1
-1
No files found.
sw/source/core/unocore/unoportenum.cxx
Dosyayı görüntüle @
f0d05ed0
...
...
@@ -1032,14 +1032,14 @@ static void lcl_FillRedlineArray(
SwXRedlinePortion_ImplList
&
rRedArr
)
{
const
SwRedlineTbl
&
rRedTbl
=
rDoc
.
GetRedlineTbl
();
sal_uInt16
nRedTblCount
=
rRedTbl
.
size
();
const
size_t
nRedTblCount
=
rRedTbl
.
size
();
if
(
nRedTblCount
>
0
)
{
const
SwPosition
*
pStart
=
rUnoCrsr
.
GetPoint
();
const
SwNodeIndex
nOwnNode
=
pStart
->
nNode
;
for
(
s
al_uInt16
nRed
=
0
;
nRed
<
nRedTblCount
;
nRed
++
)
for
(
s
ize_t
nRed
=
0
;
nRed
<
nRedTblCount
;
++
nRed
)
{
const
SwRangeRedline
*
pRedline
=
rRedTbl
[
nRed
];
const
SwPosition
*
pRedStart
=
pRedline
->
Start
();
...
...
sw/source/core/unocore/unoredline.cxx
Dosyayı görüntüle @
f0d05ed0
...
...
@@ -278,7 +278,7 @@ void SwXRedlinePortion::Validate() throw( uno::RuntimeException )
SwDoc
*
pDoc
=
pUnoCrsr
->
GetDoc
();
const
SwRedlineTbl
&
rRedTbl
=
pDoc
->
GetRedlineTbl
();
bool
bFound
=
false
;
for
(
s
al_uInt16
nRed
=
0
;
nRed
<
rRedTbl
.
size
()
&&
!
bFound
;
nRed
++
)
for
(
s
ize_t
nRed
=
0
;
nRed
<
rRedTbl
.
size
()
&&
!
bFound
;
nRed
++
)
bFound
=
&
m_rRedline
==
rRedTbl
[
nRed
];
if
(
!
bFound
)
throw
uno
::
RuntimeException
();
...
...
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