diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-02-22 11:40:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-02-22 14:34:31 +0100 |
commit | 70c3d1a25a0ace873ce7fa4b49af416f8fa6f1ff (patch) | |
tree | 8fd1a2196390778109a6d7337e42f802ac0cdf7d /sw/source/filter/ww8/ww8par5.cxx | |
parent | d261d883b2149b37bdee739ee92bbea11b1fb7a1 (diff) |
ofz#13250 Direct-leak
Change-Id: Idf5984399f2d8bdf4751667e01f170bed15a4443
Reviewed-on: https://gerrit.libreoffice.org/68205
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/filter/ww8/ww8par5.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par5.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 953056a5a8f4..7858a11e183d 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -3395,7 +3395,7 @@ eF_ResT SwWW8ImplReader::Read_F_Tox( WW8FieldDesc* pF, OUString& rStr ) // Set start in stack m_xReffedStck->NewAttr( *pPos, aFltTOX ); - m_rDoc.InsertTableOf(*m_pPaM->GetPoint(), *aFltTOX.GetBase()); + m_rDoc.InsertTableOf(*m_pPaM->GetPoint(), aFltTOX.GetBase()); //The TOC field representation contents should be inserted into TOC section, but not after TOC section. //So we need update the document position when loading TOC representation and after loading TOC; |