diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-02-14 17:47:28 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-02-20 17:04:02 +0000 |
commit | dcfd811a57e8ffa5bf1a3f17448d6777ba6ce15b (patch) | |
tree | 399b98706752f7b00bfcf4a19434af23660e36f0 | |
parent | 0e81a404922c9b760638c230eea9cebf40a1694e (diff) |
sw: ww8: ~SwIndexReg assertion:
Remove pointless SwPosition that triggers the assertion when
loading bugdoc from i#87910 from wwSectionManager::InsertSegments.
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 99237686e660..35def1784d98 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -4120,8 +4120,7 @@ void wwSectionManager::InsertSegments() if (pTxtNd) { SwNodeIndex aIdx(*pTxtNd); - SwPosition aPos(aIdx); - SwPaM aTest(aPos); + SwPaM aTest(aIdx); mrReader.rDoc.DelFullPara(aTest); pTxtNd = 0; } |