summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-02-08 23:30:21 +0100
committerMichael Stahl <mstahl@redhat.com>2012-02-13 00:25:02 +0100
commit6c3e8f9d19a0392a817c1b5692421ed0972a3b7e (patch)
tree6fed63bf11d34650935627f816fb2a47e49e3bf5 /sw
parent699eae5bd35fe0dc9dd98a9a2b74f37c0ef55d9c (diff)
sw: ww8: ~SwIndexReg assertion:
Remove pointless SwPosition that triggers the assertion when loading bugdoc from fdo#39006 from wwExtraneousParas::delete_all_from_doc.
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 99a2544d5df1..5c74e18ac94d 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -4134,8 +4134,7 @@ void wwExtraneousParas::delete_all_from_doc()
{
SwTxtNode *pTxtNode = *aI;
SwNodeIndex aIdx(*pTxtNode);
- SwPosition aPos(aIdx);
- SwPaM aTest(aPos);
+ SwPaM aTest(aIdx);
m_rDoc.DelFullPara(aTest);
}
m_aTxtNodes.clear();