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
e1b1f953
Kaydet (Commit)
e1b1f953
authored
May 19, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#91185 - appearance settings lifecycle fix.
Change-Id: I4efe8e68419a3d878acf3c4eb741239794b26d85
üst
c922776f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
optcolor.cxx
cui/source/options/optcolor.cxx
+12
-2
No files found.
cui/source/options/optcolor.cxx
Dosyayı görüntüle @
e1b1f953
...
...
@@ -199,6 +199,7 @@ private:
Chapter
(
FixedText
*
pText
,
bool
bShow
);
Chapter
(
vcl
::
Window
*
pGrid
,
unsigned
nYPos
,
const
OUString
&
sDisplayName
);
~
Chapter
();
void
dispose
()
{
m_pText
.
disposeAndClear
();
}
public
:
void
SetBackground
(
const
Wallpaper
&
W
)
{
m_pText
->
SetBackground
(
W
);
}
void
Show
(
const
Wallpaper
&
rBackWall
);
...
...
@@ -231,7 +232,12 @@ private:
public
:
bool
Is
(
CheckBox
*
pBox
)
const
{
return
m_pText
==
pBox
;
}
bool
Is
(
ColorListBox
*
pBox
)
const
{
return
m_pColorList
==
pBox
;
}
void
dispose
()
{
m_pText
.
disposeAndClear
();
m_pColorList
.
disposeAndClear
();
m_pPreview
.
disposeAndClear
();
}
private
:
bool
m_bOwnsWidgets
;
// checkbox (CheckBox) or simple text (FixedText)
...
...
@@ -510,10 +516,14 @@ ColorConfigWindow_Impl::ColorConfigWindow_Impl(vcl::Window* pParent)
void
ColorConfigWindow_Impl
::
dispose
()
{
disposeBuilder
();
m_pGrid
.
clear
();
m_pVScroll
.
clear
();
m_pHeaderHB
.
clear
();
for
(
auto
i
=
vChapters
.
begin
();
i
!=
vChapters
.
end
();
++
i
)
(
*
i
)
->
dispose
();
for
(
auto
i
=
vEntries
.
begin
();
i
!=
vEntries
.
end
();
++
i
)
(
*
i
)
->
dispose
();
disposeBuilder
();
VclContainer
::
dispose
();
}
...
...
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