diff options
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleDocument.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/access/accdoc.cxx | 2 |
2 files changed, 2 insertions, 1 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; } } diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx index 9d498a4b3132..c1d542a4bd24 100644 --- a/sw/source/core/access/accdoc.cxx +++ b/sw/source/core/access/accdoc.cxx @@ -830,7 +830,7 @@ css::uno::Sequence< css::uno::Any > } nIndex++; } - + aRet.realloc(nIndex); return aRet; } } |