| commit | 1da4fb3d3438355c04ce616563422a6a51943c11 | [log] |
|---|---|---|
| author | Jim Raykowski <raykowj@gmail.com> | Wed Jun 12 23:43:35 2019 -0800 |
| committer | Michael Stahl <Michael.Stahl@cib.de> | Mon Jun 17 14:19:48 2019 +0200 |
| tree | 26206d07ec903e656df4a0b0775aa4c69541dfe0 | |
| parent | 54cd48cd7088dc6fad8f4c7a86bc7a9841305adc [diff] |
tdf#105799 Fix vector use bug Change-Id: Ibf2b5314584725a10e11fe83e9fef5c710e421c4 Reviewed-on: https://gerrit.libreoffice.org/73937 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com> (cherry picked from commit adcb7bacb452dccde70b20a902f5c1f23f37913f) Reviewed-on: https://gerrit.libreoffice.org/74151 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx index 026aa6f..a1c9fb4 100644 --- a/sw/source/core/undo/untbl.cxx +++ b/sw/source/core/undo/untbl.cxx
@@ -1287,7 +1287,7 @@ else { sal_uLong nEnd = pDoc->GetNodes()[ nSttNode ]->EndOfSectionIndex(); Ptrs.pContentAttrs = new SfxItemSets( static_cast<sal_uInt8>(nEnd - nSttNode - 1 ) ); Ptrs.pContentAttrs = new SfxItemSets; for( sal_uLong n = nSttNode + 1; n < nEnd; ++n ) { SwContentNode* pCNd = pDoc->GetNodes()[ n ]->GetContentNode();