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
42c59d7c
Kaydet (Commit)
42c59d7c
authored
Ara 11, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revert "just delete, don't check for null and then delete"
no time for this This reverts commit
4b941b7b
.
üst
3f501d15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
poly.cxx
tools/source/generic/poly.cxx
+7
-3
No files found.
tools/source/generic/poly.cxx
Dosyayı görüntüle @
42c59d7c
...
...
@@ -516,8 +516,11 @@ bool ImplPolygon::operator==( const ImplPolygon& rCandidate) const
ImplPolygon
::~
ImplPolygon
()
{
delete
[]
mpPointAry
;
delete
[]
mpFlagAry
;
if
(
mpPointAry
)
delete
[]
mpPointAry
;
if
(
mpFlagAry
)
delete
[]
mpFlagAry
;
}
void
ImplPolygon
::
ImplInitDefault
()
...
...
@@ -583,7 +586,8 @@ void ImplPolygon::ImplSetSize( sal_uInt16 nNewSize, bool bResize )
else
pNewAry
=
nullptr
;
delete
[]
mpPointAry
;
if
(
mpPointAry
)
delete
[]
mpPointAry
;
// take FlagArray into account, if applicable
if
(
mpFlagAry
)
...
...
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