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
6a984842
Kaydet (Commit)
6a984842
authored
Ock 11, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
kind of thing coverity will warn about
Change-Id: I2681b99c913b15c632dd4c9ec84922fa282692d7
üst
226e367f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
content.cxx
sw/source/uibase/utlui/content.cxx
+4
-4
No files found.
sw/source/uibase/utlui/content.cxx
Dosyayı görüntüle @
6a984842
...
...
@@ -2276,10 +2276,10 @@ void SwContentTree::Notify(SfxBroadcaster & rBC, SfxHint const& rHint)
SfxViewEventHint
const
*
const
pVEHint
(
dynamic_cast
<
SfxViewEventHint
const
*>
(
&
rHint
));
if
(
pActiveShell
&&
pVEHint
&&
pVEHint
->
GetEventName
()
==
"OnViewClosed"
&&
dynamic_cast
<
SwXTextView
*>
(
pVEHint
->
GetController
().
get
())
->
GetView
()
==
&
pActiveShell
->
GetView
())
SwXTextView
*
pDyingShell
=
NULL
;
if
(
pActiveShell
&&
pVEHint
&&
pVEHint
->
GetEventName
()
==
"OnViewClosed"
)
pDyingShell
=
dynamic_cast
<
SwXTextView
*>
(
pVEHint
->
GetController
().
get
());
if
(
pDyingShell
&&
pDyingShell
->
GetView
()
==
&
pActiveShell
->
GetView
())
{
SetActiveShell
(
0
);
// our view is dying, clear our pointers to it
}
...
...
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