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
c3239f45
Kaydet (Commit)
c3239f45
authored
May 07, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#735892 Unchecked dynamic_cast
Change-Id: I0624dd7d50cc82ddfe76ce5d8219b2fa1c10f002
üst
6e210358
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
acmplwrd.cxx
sw/source/core/doc/acmplwrd.cxx
+2
-3
No files found.
sw/source/core/doc/acmplwrd.cxx
Dosyayı görüntüle @
c3239f45
...
...
@@ -417,9 +417,8 @@ void SwAutoCompleteWord::DocumentDying(const SwDoc& rDoc)
const
bool
bDelete
=
!
pACorr
->
GetSwFlags
().
bAutoCmpltKeepList
;
for
(
size_t
nPos
=
m_WordList
.
size
();
nPos
;
nPos
--
)
{
SwAutoCompleteString
*
const
pCurrent
=
dynamic_cast
<
SwAutoCompleteString
*>
(
m_WordList
[
nPos
-
1
]);
if
(
pCurrent
->
RemoveDocument
(
rDoc
)
&&
bDelete
)
SwAutoCompleteString
*
const
pCurrent
=
dynamic_cast
<
SwAutoCompleteString
*>
(
m_WordList
[
nPos
-
1
]);
if
(
pCurrent
&&
pCurrent
->
RemoveDocument
(
rDoc
)
&&
bDelete
)
{
m_WordList
.
erase
(
nPos
-
1
);
SwAutoCompleteStringPtrDeque
::
iterator
it
=
std
::
find
(
aLRULst
.
begin
(),
aLRULst
.
end
(),
pCurrent
);
...
...
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