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
1394e454
Kaydet (Commit)
1394e454
authored
May 08, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#91128 - Dockwin post-dispose crash fix.
Change-Id: I46252c272d45209f8cb3fd072df4109440d3fcae
üst
eef0e91d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
dockwin.cxx
sfx2/source/dialog/dockwin.cxx
+7
-7
No files found.
sfx2/source/dialog/dockwin.cxx
Dosyayı görüntüle @
1394e454
...
...
@@ -450,7 +450,7 @@ void SfxDockingWindow::Resize()
{
DockingWindow
::
Resize
();
Invalidate
();
if
(
pImp
->
bConstructed
&&
pMgr
)
if
(
pImp
&&
pImp
->
bConstructed
&&
pMgr
)
{
if
(
IsFloatingMode
()
)
{
...
...
@@ -501,7 +501,7 @@ bool SfxDockingWindow::PrepareToggleFloatingMode()
*/
{
if
(
!
pImp
->
bConstructed
)
if
(
!
pImp
||
!
pImp
->
bConstructed
)
return
true
;
if
(
(
Application
::
IsInModalMode
()
&&
IsFloatingMode
())
||
!
pMgr
)
...
...
@@ -554,7 +554,7 @@ void SfxDockingWindow::ToggleFloatingMode()
SfxDockingWindow::ToggleFloatingMode() must be called.
*/
{
if
(
!
pImp
->
bConstructed
||
!
pMgr
)
if
(
!
pImp
||
!
pImp
->
bConstructed
||
!
pMgr
)
return
;
// No Handler call
// Remember old alignment and then switch.
...
...
@@ -638,7 +638,7 @@ void SfxDockingWindow::StartDocking()
the end.
*/
{
if
(
!
pImp
->
bConstructed
||
!
pMgr
)
if
(
!
pImp
||
!
pImp
->
bConstructed
||
!
pMgr
)
return
;
SfxChildIdentifier
eIdent
=
SfxChildIdentifier
::
DOCKINGWINDOW
;
if
(
pImp
->
bSplitable
)
...
...
@@ -672,7 +672,7 @@ bool SfxDockingWindow::Docking( const Point& rPos, Rectangle& rRect )
if
(
Application
::
IsInModalMode
()
)
return
true
;
if
(
!
pImp
->
bConstructed
||
!
pMgr
)
if
(
!
pImp
||
!
pImp
->
bConstructed
||
!
pMgr
)
{
rRect
.
SetSize
(
Size
()
);
return
IsFloatingMode
();
...
...
@@ -771,7 +771,7 @@ void SfxDockingWindow::EndDocking( const Rectangle& rRect, bool bFloatMode )
SfxDockingWindow::EndDocking() must be called first.
*/
{
if
(
!
pImp
->
bConstructed
||
IsDockingCanceled
()
||
!
pMgr
)
if
(
!
pImp
||
!
pImp
->
bConstructed
||
IsDockingCanceled
()
||
!
pMgr
)
return
;
SfxWorkWindow
*
pWorkWin
=
pBindings
->
GetWorkWindow_Impl
();
...
...
@@ -1242,7 +1242,7 @@ void SfxDockingWindow::FillInfo(SfxChildWinInfo& rInfo) const
if
(
!
pMgr
)
return
;
if
(
GetFloatingWindow
()
&&
pImp
->
bConstructed
)
if
(
GetFloatingWindow
()
&&
pImp
&&
pImp
->
bConstructed
)
pImp
->
aWinState
=
GetFloatingWindow
()
->
GetWindowState
();
rInfo
.
aWinState
=
pImp
->
aWinState
;
...
...
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