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
b60285e9
Kaydet (Commit)
b60285e9
authored
Tem 31, 2012
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SwpHintsArray: deploy some asserts
Change-Id: I16f416cb63221860ff743ce2e2291af99cd19de2
üst
43377e09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
ndhints.cxx
sw/source/core/txtnode/ndhints.cxx
+4
-8
No files found.
sw/source/core/txtnode/ndhints.cxx
Dosyayı görüntüle @
b60285e9
...
@@ -130,14 +130,10 @@ bool CompareSwpHtEnd::operator()(SwTxtAttr* const lhs, SwTxtAttr* const rhs) con
...
@@ -130,14 +130,10 @@ bool CompareSwpHtEnd::operator()(SwTxtAttr* const lhs, SwTxtAttr* const rhs) con
void
SwpHintsArray
::
Insert
(
const
SwTxtAttr
*
pHt
)
void
SwpHintsArray
::
Insert
(
const
SwTxtAttr
*
pHt
)
{
{
Resort
();
Resort
();
#if OSL_DEBUG_LEVEL > 0
assert
(
m_HintStarts
.
find
(
const_cast
<
SwTxtAttr
*>
(
pHt
))
OSL_ENSURE
(
==
m_HintStarts
.
end
());
// "Insert: hint already in HtStart"
m_HintStarts
.
find
(
const_cast
<
SwTxtAttr
*>
(
pHt
))
==
m_HintStarts
.
end
(),
assert
(
m_HintEnds
.
find
(
const_cast
<
SwTxtAttr
*>
(
pHt
))
"Insert: hint already in HtStart"
);
==
m_HintEnds
.
end
());
// "Insert: hint already in HtEnd"
OSL_ENSURE
(
m_HintEnds
.
find
(
const_cast
<
SwTxtAttr
*>
(
pHt
))
==
m_HintEnds
.
end
(),
"Insert: hint already in HtEnd"
);
#endif
m_HintStarts
.
insert
(
const_cast
<
SwTxtAttr
*>
(
pHt
)
);
m_HintStarts
.
insert
(
const_cast
<
SwTxtAttr
*>
(
pHt
)
);
m_HintEnds
.
insert
(
const_cast
<
SwTxtAttr
*>
(
pHt
)
);
m_HintEnds
.
insert
(
const_cast
<
SwTxtAttr
*>
(
pHt
)
);
}
}
...
...
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