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
fd1e39ca
Kaydet (Commit)
fd1e39ca
authored
Kas 03, 2012
tarafından
Luboš Luňák
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
if/else placement
Change-Id: I1f1cd86b66123f9c14423de685263f295629e4b2
üst
1f02853e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
closedispatcher.cxx
framework/source/dispatch/closedispatcher.cxx
+6
-10
No files found.
framework/source/dispatch/closedispatcher.cxx
Dosyayı görüntüle @
fd1e39ca
...
...
@@ -319,23 +319,21 @@ IMPL_LINK_NOARG(CloseDispatcher, impl_asyncCallback)
// by others.
if
(
!
xCloseFrame
->
getCreator
().
is
())
bCloseFrame
=
sal_True
;
else
// b) The help window cant disagree with any request.
// Because it doesnt implement a controller - it uses a window only.
// Further t cant be the last open frame - if we do all other things
// right inside this CloseDispatcher implementation.
// => close it!
if
(
aCheck1
.
m_bReferenceIsHelp
)
else
if
(
aCheck1
.
m_bReferenceIsHelp
)
bCloseFrame
=
sal_True
;
else
// c) If we are already in "backing mode", we have to terminate
// the application, if this special frame is closed.
// It doesnt matter, how many other frames (can be the help or hidden frames only)
// are open then.
// => terminate the application!
if
(
aCheck1
.
m_bReferenceIsBacking
)
else
if
(
aCheck1
.
m_bReferenceIsBacking
)
bTerminateApp
=
sal_True
;
else
...
...
@@ -386,10 +384,9 @@ IMPL_LINK_NOARG(CloseDispatcher, impl_asyncCallback)
sal_Bool
bSuccess
=
sal_False
;
if
(
bCloseFrame
)
bSuccess
=
implts_closeFrame
();
else
if
(
bEstablishBackingMode
)
#if defined QUARTZ
else
if
(
bEstablishBackingMode
)
{
#if defined QUARTZ
// on mac close down, quickstarter keeps the process alive
// however if someone has shut down the quickstarter
// behave as any other platform
...
...
@@ -411,12 +408,11 @@ IMPL_LINK_NOARG(CloseDispatcher, impl_asyncCallback)
{
}
bSuccess
=
bQuickstarterRunning
?
implts_terminateApplication
()
:
implts_establishBackingMode
();
}
#else
bSuccess
=
implts_establishBackingMode
();
#endif
else
if
(
bTerminateApp
)
}
else
if
(
bTerminateApp
)
bSuccess
=
implts_terminateApplication
();
if
(
...
...
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