diff options
author | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2012-01-05 17:53:10 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2012-01-05 17:54:16 +0100 |
commit | 71f9c3a5c108161661d047beb7d63352622a0474 (patch) | |
tree | 9544daa42440553d0777b2a0c5517238fc570094 | |
parent | 3e146690d527d1c736685640e9f11172c7d087ba (diff) |
fdo#40250: safer protection check... why using the layout for this?
-rw-r--r-- | sw/source/core/edit/eddel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/eddel.cxx b/sw/source/core/edit/eddel.cxx index 85d27e4c17d0..67deb434ebd3 100644 --- a/sw/source/core/edit/eddel.cxx +++ b/sw/source/core/edit/eddel.cxx @@ -89,7 +89,7 @@ void SwEditShell::DeleteSel( SwPaM& rPam, sal_Bool* pUndo ) } // geschuetze Boxen ueberspringen ! if( !pNd->IsCntntNode() || - !((SwCntntNode*)pNd)->getLayoutFrm( GetLayout() )->IsProtected() ) + !pNd->IsInProtectSect() ) { // alles loeschen GetDoc()->DeleteAndJoin( aDelPam ); |