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
5e4c3d0e
Kaydet (Commit)
5e4c3d0e
authored
May 15, 2013
tarafından
Zheng Fan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i117395, for avoiding the cases of hidden or invisible node, which lead no frame of node exist
üst
9d54c035
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
eddel.cxx
sw/source/core/edit/eddel.cxx
+4
-1
No files found.
sw/source/core/edit/eddel.cxx
Dosyayı görüntüle @
5e4c3d0e
...
@@ -92,8 +92,11 @@ void SwEditShell::DeleteSel( SwPaM& rPam, sal_Bool* pUndo )
...
@@ -92,8 +92,11 @@ void SwEditShell::DeleteSel( SwPaM& rPam, sal_Bool* pUndo )
aDelPam
.
Move
(
fnMoveBackward
,
fnGoCntnt
);
aDelPam
.
Move
(
fnMoveBackward
,
fnGoCntnt
);
}
}
// geschuetze Boxen ueberspringen !
// geschuetze Boxen ueberspringen !
//For i117395, in some situation, the node would be hidden or invisible, which makes the frame of it unavailable
//So verify it before use it.
SwCntntFrm
*
pFrm
=
NULL
;
if
(
!
pNd
->
IsCntntNode
()
||
if
(
!
pNd
->
IsCntntNode
()
||
!
((
SwCntntNode
*
)
pNd
)
->
getLayoutFrm
(
GetLayout
()
)
->
IsProtected
(
)
)
!
((
pFrm
=
((
SwCntntNode
*
)
pNd
)
->
getLayoutFrm
(
GetLayout
()
))
!=
NULL
&&
pFrm
->
IsProtected
()
)
)
{
{
// alles loeschen
// alles loeschen
GetDoc
()
->
DeleteAndJoin
(
aDelPam
);
GetDoc
()
->
DeleteAndJoin
(
aDelPam
);
...
...
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