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
d4077910
Kaydet (Commit)
d4077910
authored
Şub 28, 2017
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
dissolve() needs to delete head now that it's not a list element anymore
Change-Id: I9949a1006e6d1b4b50dd5350106ad69b643e833c
üst
67070d58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
postit.cxx
sc/source/core/data/postit.cxx
+5
-2
No files found.
sc/source/core/data/postit.cxx
Dosyayı görüntüle @
d4077910
...
...
@@ -665,15 +665,18 @@ bool ScCaptionPtr::forget()
void
ScCaptionPtr
::
dissolve
()
{
ScCaptionPtr
::
Head
*
pHead
=
mpHead
;
ScCaptionPtr
*
pThat
=
(
mpHead
?
mpHead
->
mpFirst
:
this
);
while
(
pThat
)
{
assert
(
!
pThat
->
mpNext
||
mpHead
);
// next without head is bad
assert
(
!
pThat
->
mpNext
||
pThat
->
mpHead
);
// next without head is bad
assert
(
pThat
->
mpHead
==
pHead
);
// same head required within one list
ScCaptionPtr
*
p
=
pThat
->
mpNext
;
pThat
->
clear
();
pThat
=
p
;
}
clear
();
assert
(
!
mpHead
&&
!
mpNext
&&
!
mpCaption
);
// should had been cleared during list walk
delete
pHead
;
}
void
ScCaptionPtr
::
clear
()
...
...
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