sw/source/core/undo/untbl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 772ceeaf8df89e392494b80efc1823b0e6917575 Author: Jim Raykowski <rayk...@gmail.com> AuthorDate: Wed Jun 12 23:43:35 2019 -0800 Commit: Michael Stahl <michael.st...@cib.de> CommitDate: Mon Jun 17 16:24:32 2019 +0200 tdf#105799 Fix vector use bug Change-Id: Ibf2b5314584725a10e11fe83e9fef5c710e421c4 Reviewed-on: https://gerrit.libreoffice.org/73937 Tested-by: Jenkins Reviewed-by: Jim Raykowski <rayk...@gmail.com> (cherry picked from commit adcb7bacb452dccde70b20a902f5c1f23f37913f) Reviewed-on: https://gerrit.libreoffice.org/74151 Reviewed-by: Michael Stahl <michael.st...@cib.de> (cherry picked from commit 1da4fb3d3438355c04ce616563422a6a51943c11) Reviewed-on: https://gerrit.libreoffice.org/74166 diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx index 7b7f7cd5115e..0640fd478022 100644 --- a/sw/source/core/undo/untbl.cxx +++ b/sw/source/core/undo/untbl.cxx @@ -1286,7 +1286,7 @@ void SaveBox::SaveContentAttrs( SwDoc* pDoc ) 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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits