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
d333ca56
Kaydet (Commit)
d333ca56
authored
May 26, 2014
tarafından
Chris Sherlock
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: "non-pro version" actually means debug builds
Change-Id: I814869869bbc16a8bae94ef9c5deaeb97c13f03e
üst
495cbf4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
window.cxx
vcl/source/window/window.cxx
+7
-7
No files found.
vcl/source/window/window.cxx
Dosyayı görüntüle @
d333ca56
...
...
@@ -244,7 +244,7 @@ Window::~Window()
pSVData
->
maWinData
.
mpDefDialogParent
=
NULL
;
#if OSL_DEBUG_LEVEL > 0
if
(
true
)
// always perform these tests in
non-pro version
s
if
(
true
)
// always perform these tests in
debug build
s
{
OStringBuffer
aErrorStr
;
bool
bError
=
false
;
...
...
@@ -270,7 +270,7 @@ Window::~Window()
aTempStr
.
append
(
") with live SystemWindows destroyed: "
);
aTempStr
.
append
(
aErrorStr
.
toString
());
OSL_FAIL
(
aTempStr
.
getStr
());
// abort in
non-pro version, this
must be fixed!
// abort in
debug builds,
must be fixed!
GetpApp
()
->
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
}
...
...
@@ -294,7 +294,7 @@ Window::~Window()
aTempStr
.
append
(
") with live SystemWindows destroyed: "
);
aTempStr
.
append
(
aErrorStr
.
toString
());
OSL_FAIL
(
aTempStr
.
getStr
()
);
GetpApp
()
->
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
// abort in
non-pro version
, this must be fixed!
GetpApp
()
->
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
// abort in
debug builds
, this must be fixed!
}
if
(
mpWindowImpl
->
mpFirstChild
)
...
...
@@ -309,7 +309,7 @@ Window::~Window()
pTempWin
=
pTempWin
->
mpWindowImpl
->
mpNext
;
}
OSL_FAIL
(
aTempStr
.
getStr
()
);
GetpApp
()
->
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
// abort in
non-pro version
, this must be fixed!
GetpApp
()
->
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
// abort in
debug builds
, this must be fixed!
}
if
(
mpWindowImpl
->
mpFirstOverlap
)
...
...
@@ -324,7 +324,7 @@ Window::~Window()
pTempWin
=
pTempWin
->
mpWindowImpl
->
mpNext
;
}
OSL_FAIL
(
aTempStr
.
getStr
()
);
GetpApp
()
->
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
// abort in
non-pro version
, this must be fixed!
GetpApp
()
->
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
// abort in
debug builds
, this must be fixed!
}
Window
*
pMyParent
=
this
;
...
...
@@ -342,7 +342,7 @@ Window::~Window()
aTempStr
.
append
(
OUStringToOString
(
GetText
(),
RTL_TEXTENCODING_UTF8
));
aTempStr
.
append
(
") still in TaskPanelList!"
);
OSL_FAIL
(
aTempStr
.
getStr
()
);
GetpApp
()
->
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
// abort in
non-pro version
, this must be fixed!
GetpApp
()
->
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
// abort in
debug builds
, this must be fixed!
}
}
#endif
...
...
@@ -411,7 +411,7 @@ Window::~Window()
RTL_TEXTENCODING_UTF8
)).
append
(
") with focussed child window destroyed ! THIS WILL LEAD TO CRASHES AND MUST BE FIXED !"
);
OSL_FAIL
(
aTempStr
.
getStr
()
);
GetpApp
()
->
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
// abort in
non-pro
version, this must be fixed!
GetpApp
()
->
Abort
(
OStringToOUString
(
aTempStr
.
makeStringAndClear
(),
RTL_TEXTENCODING_UTF8
));
// abort in
debug build
version, this must be fixed!
#endif
}
...
...
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