summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-02-14 17:47:28 +0100
committerMichael Stahl <mstahl@redhat.com>2012-02-15 13:17:18 +0100
commitc1f723fd53e8c41b80285d11a149e0044f580e2f (patch)
treed3c27f65837c3c55aaa0b7e4b87430360d1880e1 /sw
parentbebd171db7735e3063f4aaaacbb15b78f5436dde (diff)
sw: ww8: ~SwIndexReg assertion:
Remove pointless SwPosition that triggers the assertion when loading bugdoc from i#87910 from wwSectionManager::InsertSegments.
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8par.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 5c74e18ac94d..ad88e9885597 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -4118,8 +4118,7 @@ void wwSectionManager::InsertSegments()
if (pTxtNd)
{
SwNodeIndex aIdx(*pTxtNd);
- SwPosition aPos(aIdx);
- SwPaM aTest(aPos);
+ SwPaM aTest(aIdx);
mrReader.rDoc.DelFullPara(aTest);
pTxtNd = 0;
}