summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-23 14:17:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-23 18:10:51 +0200
commit00af5c36e16c233fe365b3da770cf420cd415c24 (patch)
tree3399133eb63e5708cacb943970b5db08a80c175d /sc
parent6c7b5b015d12f01d563c0e0efdb0b7e54d4896b7 (diff)
realloc sequence to amount of inserted elements
Change-Id: I5c507287631dd5cc87a037d0af67de77aca556d1 Reviewed-on: https://gerrit.libreoffice.org/81385 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocument.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index dbce56b37c59..ee68adf3fdb0 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -2270,6 +2270,7 @@ css::uno::Sequence< css::uno::Any > ScAccessibleDocument::GetScAccFlowToSequence
}
}
}
+ aSequence.realloc(nParaCount);
return aSequence;
}
}