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
cb040cc7
Kaydet (Commit)
cb040cc7
authored
Nis 26, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
unnecessary to check for null before delete
Change-Id: I82b5c5ced8a4f0e719d1aeffed86845b9db1b68b
üst
94e175e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
32 deletions
+8
-32
outdevstate.cxx
vcl/source/outdev/outdevstate.cxx
+8
-32
No files found.
vcl/source/outdev/outdevstate.cxx
Dosyayı görüntüle @
cb040cc7
...
...
@@ -34,49 +34,25 @@
OutDevState
::~
OutDevState
()
{
if
(
mnFlags
&
PUSH_LINECOLOR
)
{
if
(
mpLineColor
)
delete
mpLineColor
;
}
delete
mpLineColor
;
if
(
mnFlags
&
PUSH_FILLCOLOR
)
{
if
(
mpFillColor
)
delete
mpFillColor
;
}
delete
mpFillColor
;
if
(
mnFlags
&
PUSH_FONT
)
delete
mpFont
;
if
(
mnFlags
&
PUSH_TEXTCOLOR
)
delete
mpTextColor
;
if
(
mnFlags
&
PUSH_TEXTFILLCOLOR
)
{
if
(
mpTextFillColor
)
delete
mpTextFillColor
;
}
delete
mpTextFillColor
;
if
(
mnFlags
&
PUSH_TEXTLINECOLOR
)
{
if
(
mpTextLineColor
)
delete
mpTextLineColor
;
}
delete
mpTextLineColor
;
if
(
mnFlags
&
PUSH_OVERLINECOLOR
)
{
if
(
mpOverlineColor
)
delete
mpOverlineColor
;
}
delete
mpOverlineColor
;
if
(
mnFlags
&
PUSH_MAPMODE
)
{
if
(
mpMapMode
)
delete
mpMapMode
;
}
delete
mpMapMode
;
if
(
mnFlags
&
PUSH_CLIPREGION
)
{
if
(
mpClipRegion
)
delete
mpClipRegion
;
}
delete
mpClipRegion
;
if
(
mnFlags
&
PUSH_REFPOINT
)
{
if
(
mpRefPoint
)
delete
mpRefPoint
;
}
delete
mpRefPoint
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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