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
3893b922
Kaydet (Commit)
3893b922
authored
May 08, 2012
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
also convert assertions in previous commit
üst
a8f3f3ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
xmltbli.cxx
sw/source/filter/xml/xmltbli.cxx
+3
-3
No files found.
sw/source/filter/xml/xmltbli.cxx
Dosyayı görüntüle @
3893b922
...
...
@@ -350,7 +350,7 @@ inline const SwXMLTableCell_Impl *SwXMLTableRow_Impl::GetCell( sal_uInt32 nCol )
OSL_ENSURE
(
nCol
<
USHRT_MAX
,
"SwXMLTableRow_Impl::GetCell: column number is to big"
);
// #i95726# - some fault tolerance
OSL_ENSURE
(
nCol
<
aCells
.
Count
(),
OSL_ENSURE
(
nCol
<
aCells
.
size
(),
"SwXMLTableRow_Impl::GetCell: column number is out of bound"
);
return
nCol
<
aCells
.
size
()
?
&
aCells
[(
sal_uInt16
)
nCol
]
:
0
;
}
...
...
@@ -360,7 +360,7 @@ inline SwXMLTableCell_Impl *SwXMLTableRow_Impl::GetCell( sal_uInt32 nCol )
OSL_ENSURE
(
nCol
<
USHRT_MAX
,
"SwXMLTableRow_Impl::GetCell: column number is to big"
);
// #i95726# - some fault tolerance
OSL_ENSURE
(
nCol
<
aCells
.
Count
(),
OSL_ENSURE
(
nCol
<
aCells
.
size
(),
"SwXMLTableRow_Impl::GetCell: column number is out of bound"
);
return
nCol
<
aCells
.
size
()
?
&
aCells
[(
sal_uInt16
)
nCol
]
:
0
;
}
...
...
@@ -380,7 +380,7 @@ void SwXMLTableRow_Impl::Expand( sal_uInt32 nCells, sal_Bool bOneCell )
nColSpan
--
;
}
OSL_ENSURE
(
nCells
<=
aCells
.
Count
(),
OSL_ENSURE
(
nCells
<=
aCells
.
size
(),
"SwXMLTableRow_Impl::Expand: wrong number of cells"
);
}
...
...
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