diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/docbm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index ab5e544c2358..2d8a411a9c5d 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -2063,7 +2063,7 @@ void DelBookmarks( if( lcl_Greater( *pREnd, rStt, oStartContentIdx ) && lcl_Lower( *pREnd, rEnd, oEndContentIdx )) { pREnd->Assign( rStt ); - if( oStartContentIdx ) + if (oStartContentIdx && rStt.IsContentNode()) pREnd->SetContent( *oStartContentIdx ); else { |