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
df103589
Kaydet (Commit)
df103589
authored
Nis 14, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make leaked child debugging more helpful wrt. the hierarchy.
Change-Id: Iadd2b5214661e00209f789c9ada83d5d9dce12b7
üst
0baadcea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
15 deletions
+16
-15
window.cxx
vcl/source/window/window.cxx
+16
-15
No files found.
vcl/source/window/window.cxx
Dosyayı görüntüle @
df103589
...
@@ -255,6 +255,22 @@ void Window::dispose()
...
@@ -255,6 +255,22 @@ void Window::dispose()
OStringBuffer
aErrorStr
;
OStringBuffer
aErrorStr
;
bool
bError
=
false
;
bool
bError
=
false
;
vcl
::
Window
*
pTempWin
;
vcl
::
Window
*
pTempWin
;
if
(
mpWindowImpl
->
mpFirstChild
)
{
OStringBuffer
aTempStr
(
"Window ("
);
aTempStr
.
append
(
lcl_createWindowInfo
(
*
this
));
aTempStr
.
append
(
") with live children destroyed: "
);
pTempWin
=
mpWindowImpl
->
mpFirstChild
;
while
(
pTempWin
)
{
aTempStr
.
append
(
lcl_createWindowInfo
(
*
pTempWin
));
pTempWin
=
pTempWin
->
mpWindowImpl
->
mpNext
;
}
OSL_FAIL
(
aTempStr
.
getStr
()
);
Application
::
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
// abort in debug builds, this must be fixed!
}
if
(
mpWindowImpl
->
mpFrameData
!=
0
)
if
(
mpWindowImpl
->
mpFrameData
!=
0
)
{
{
pTempWin
=
mpWindowImpl
->
mpFrameData
->
mpFirstOverlap
;
pTempWin
=
mpWindowImpl
->
mpFrameData
->
mpFirstOverlap
;
...
@@ -302,21 +318,6 @@ void Window::dispose()
...
@@ -302,21 +318,6 @@ void Window::dispose()
Application
::
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
// abort in debug builds, this must be fixed!
Application
::
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
// abort in debug builds, this must be fixed!
}
}
if
(
mpWindowImpl
->
mpFirstChild
)
{
OStringBuffer
aTempStr
(
"Window ("
);
aTempStr
.
append
(
lcl_createWindowInfo
(
*
this
));
aTempStr
.
append
(
") with live children destroyed: "
);
pTempWin
=
mpWindowImpl
->
mpFirstChild
;
while
(
pTempWin
)
{
aTempStr
.
append
(
lcl_createWindowInfo
(
*
pTempWin
));
pTempWin
=
pTempWin
->
mpWindowImpl
->
mpNext
;
}
OSL_FAIL
(
aTempStr
.
getStr
()
);
Application
::
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
// abort in debug builds, this must be fixed!
}
if
(
mpWindowImpl
->
mpFirstOverlap
)
if
(
mpWindowImpl
->
mpFirstOverlap
)
{
{
OStringBuffer
aTempStr
(
"Window ("
);
OStringBuffer
aTempStr
(
"Window ("
);
...
...
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