diff options
Diffstat (limited to 'sw/source/core/text/porlay.cxx')
-rw-r--r-- | sw/source/core/text/porlay.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx index 40e3a58238fa..214bbe5c8450 100644 --- a/sw/source/core/text/porlay.cxx +++ b/sw/source/core/text/porlay.cxx @@ -2107,9 +2107,12 @@ void SwScriptInfo::selectRedLineDeleted(const SwTxtNode& rNode, MultiSelection & { const SwRangeRedline* pRed = rIDRA.GetRedlineTbl()[ nAct ]; - if ( pRed->Start()->nNode > rNode.GetIndex() ) + if (pRed->Start()->nNode > rNode.GetIndex()) break; + if (pRed->GetType() != nsRedlineType_t::REDLINE_DELETE) + continue; + sal_Int32 nRedlStart; sal_Int32 nRedlnEnd; pRed->CalcStartEnd( rNode.GetIndex(), nRedlStart, nRedlnEnd ); |