[Libreoffice-commits] core.git: sw/source
Jim Raykowski (via logerrit)
logerrit at kemper.freedesktop.org
Sun Jun 16 15:45:23 UTC 2019
sw/source/core/undo/untbl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit adcb7bacb452dccde70b20a902f5c1f23f37913f
Author: Jim Raykowski <raykowj at gmail.com>
AuthorDate: Wed Jun 12 23:43:35 2019 -0800
Commit: Jim Raykowski <raykowj at gmail.com>
CommitDate: Sun Jun 16 17:44:47 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 <raykowj at gmail.com>
diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx
index 4ad7ccc0cf95..7e0775f92fff 100644
--- a/sw/source/core/undo/untbl.cxx
+++ b/sw/source/core/undo/untbl.cxx
@@ -1287,7 +1287,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();
More information about the Libreoffice-commits
mailing list